to get help for any command you can use --help or -h with the command
--help and most of the external ones use bothdate --help ⇒ to show date command instructions
you can get instructions more detailed using man pages (short for manual)
man command ⇒ view command help, shows really too much information
hto get help how to navigate in man pagesman passwd ⇒ to show instructions for passwd command
ls, cp).printf)./dev/null)./etc/passwd).iptables).man passwd it returns the instructions of the command itself, but man 5 passwd the instructions of /etc/passwd filethat when i need to know what does this command do, but what if i need to know which command do this function
man -k "print files" shows which command do this functionapropos "print files" ⇒ -k = apropos
man -K "print files" search over all man pages looking for this keywordif you wanna more details look for info command
info then it will prompt for question press ypinfo the colored version of infoin this directory /usr/share/doc documentations for almost all python packages and installed software packages
what is + tool name ⇒ help you to know the rule of it
passwd -l username ⇒ to lock the user (only root can login)passwd -u username ⇒ unlock the usersu ⇒ switch user to root