-
minute of hour | hour of day | day of month | month # | day of week
= Crontab syntax. -
If
/sys/firmware/efi exists
, system is UEFI.
shutdown -r now
orreboot
= Immediately reboot system.shutdown 2 this machine is shutting down in 2 minutes!
= Power off system in 2 minutes and send the provided message to all logged-in users.shutdown -r 0:00
= Reboot at midnight tonight.who
orw
= View users currently logged in.write alice
= Compose a message to the user alice (assuming she's logged in), useCTRL-D
to send your message
authconfig --disablesssdauth --update
= Remove pam sssd module.
TODO
man 1 crontab
= View the crontab entry in manpage section 1.man 5 crontab
= View the crontab entry in manpage section 5.man -k string
search man pages for given string
Manpage section | Category |
---|---|
1 | Shell commands and executables |
2 | Sernel functions (system calls) |
3 | Library functions |
4 | Special files (usually devices in /dev ) and drivers |
5 | File formats and conventions (e.g. /etc/passwd ) |
6 | Games |
7 | Miscellaneous |
8 | System administration commands and daemons |