Tag: crontab

  • Where is the crontab in Ubuntu?

    Where is the crontab in Ubuntu?

      If you’re looking to make a copy of a user’s crontab as a backup or just to view it without using the crontab editor, you can locate it at:   /var/spool/cron/crontabs   Each user’s crontab will be in this directory in a file named as their username (e.g. root). If you’re working with a…

  • How to easily find the full path of a command in Ubuntu

    How to easily find the full path of a command in Ubuntu

      If you’re writing scripts or making cron jobs you will need to know the full path of the commands you’re using; rather than just being able to use “ls” you would have to use “/bin/ls” instead. You could use the find command here but there’s a quicker and more elegant way: which. Use it…