Walid-Shouman
6/3/2015 - 9:25 PM

useful linux commands tips

useful linux commands tips

#processes:
###########

pgrep cron
# (if found) shows process number of *cron* processes
pidof cron
# (if found) shows process number of cron process


env
# prints all env variables

sudo service cron start
# to start a service (namely cron) instead of invoking 'sudo /etc/init.d/cron start'