compgen -c
:Lists all commands available on the system.
compgen -c | wc -l
:Counts the total number of commands on the system.
man
/--help
:Displays the manual page or usage information for a command.
man -k edit
orman -k edit -- edit related command
:Searches the manual pages for a keyword, particularly related to editing.
which
:Shows the location of an executable file associated with a command.
history
:Displays command history or allows searching through it.
date
:Display Date & Time.
alias
:Creates shortcuts or alternate names for commands.
top
:provides a real-time, dynamic overview of the system's resource usage, including information about CPU usage, memory usage, processes, and more. When you run the
top
command, it displays a continuously updated list of processes, sorted by various criteria.