Home
XHTML
CSS
PHP
MySQL
SEO
JavaScript
Computer Basics
Number Systems
LINUX


LINUX Utilities

LINUX | Files | Directories | Programs | Expressions | Utilities | Shell Scripts

Utility commands are used for common shell operations and maintenance.



The clear command clears the screen and displays the shell prompt...

$ clear





The exit command exits the shell session...

$ exit





The date command outputs the current date and time...

$ date





The cal command outputs a calendar...

$ cal

Arguments can be added to the cal command. 7 is the month. 1970 is the year...

$ cal 7 1970





The who command outputs the id names of all users logged in to the system...

$ who





The whoami command outputs the id name of the local user...

$ whoami





The whatis command outputs a short description of any command. The name of the command is added as an argument...

$ whatis cat





The man command outputs a long manual description of any command. The name of the command is added as an argument...

$ man cat

Hit the space bar to scroll, or hit Q to quit the manual pages.




The lpr command prints a file to the default printer. The name of a file to be printed is added as an argument...

$ lpr fileName1





Manual pages can be sent to the printer instead of the screen using the  |  pipe operator...

$ man cat | lpr



SEO Vancouver, Washington
SEO Portland, Oregon
Website Design Vancouver, Washington