The below given are few general utility commands which are used in the operating system laboratory. These commands only work on the server, not in the command prompt. These are the basic commands which are used frequently in the operating systems laboratory.
cal command is used to see the calendar of any specific month or a complete year.
It displays the system date and time.
It tells about the details of the user who are logged in to the current and previous sessions.
It displays features of the operating system on your machine by default. It simply displays the name of the operating system.
-r:-It displays the current release.
-n:-It displays the machine name.
It is used to display text or value of a variable.
echo [options] [string,variables]
It is used to print the name of current working directory.
This command is used to exit from the current login.
These are the few basic commands which you need to remember. These are used frequently in your subject. In the next article, you will be coming to know about file and directory related commands.