Some useful commands for intermediate users of Linux.
Change access to super user or change user to superuser
su -
This will prompt you for the password for the super user.
Check your login name (currently you are logged in as)
whoami
Check your present directory (Present Working Directory)
pwd
Check date of the system
date
date command supports multiple parameter so that you can check date in different formats.
for getting help for any command
command --help
for viewing manual for any command
man command
opening any file in vi editor
vi file_name
or
vi file_name_with_path
printing content of any file on standard output (shell)
cat file_name
or
cat file_name_with_path