Cron headers unix / linux
Compact: #.---------------- min (0-59) #| .------------- hr (0-23) #| | .---------- dom (1-31) #| | | .------- mon (1-12) #| | | | .---- dow (0-7|mon-sun0) #| | | |…
Compact: #.---------------- min (0-59) #| .------------- hr (0-23) #| | .---------- dom (1-31) #| | | .------- mon (1-12) #| | | | .---- dow (0-7|mon-sun0) #| | | |…
cd /etc/ chmod -R 664 . *SHIT!* If you find you did an accidental chmod -R, you may be able to restore it. Make sure SSH login keeps working (chmod…
My tip: make a temporary directory for all kinds of random stuff. Downloads, quick notes et cetera. I use it a lot. By using a crontab like this, the old…
If you want to use `top` over SSH, use the -t option: $ ssh -t servername top This also works if you want to use `tail -f` over ssh: $…