Basic Linux Tutorial
Computer Tutorial

General Orientation Commands



General Orientation Commands

echo

echo command is used to display the value of a variable or print a line of text. The echo command is useful for conveying a message/information to user. This command is more useful when you are writing shell scripts then normal system administration use.

Synopsis :

echo [options] [string]

Example :

echo how are you
how are you

banner

banner is a command which prints a high resolution text banner on the system console or if you have a printer connected to your machine, you can redirect the output to the printer.

Synopsis :

banner [string]

Example :

$ banner jiyaul

clear

clear command is used to clear the screem or terminal.

Synopsis :

clear

Example :

clear

write

The write utility allows you to communicate with other users by copying lines from your terminal to theirs. The write sends a message to another user.

Synopsis :

write user [tty]

Example :

write user1 tty7

user - The user to write to.
tty - The specific terminal to write to, if the user is logged in to more than one session.