Domain hosting, cheap domain names & web page promotion services
  

 Home

Red Hat Linux 8.0: The Official Red Hat Linux Getting Started Guide
PrevChapter 11. Shell Prompt BasicsNext

Using Multiple Commands

Linux allows you to enter multiple commands at one time. The only requirement is that you separate the commands with a semicolon (you can see an example in Figure 11-7).

Want to see how long you have been online? Just combine the date command with Mozilla's command.

date; mozilla; date

Remember that commands are case sensitive, so the command to start Mozilla must be in lowercase to start the browser.

date; mozilla; date
Mon Feb 7 13:26:27 EST 2000
Mon Feb 7 14:28:32 EST 2000

Running the combination of commands prints out the time and date, starts Mozilla, and then prints the time and date again after you close Mozilla. The discrepancy between the two results from the date command shows that you were using Mozilla for just over an hour.


PrevHomeNext
Command History and Tab CompletionUpOwnership and Permissions
 

 

 

 

Seosubmit.com: Web site promotion | Domain register and transfer | Buy cheap domain name 

Disclaimer: For authoritative source or latest update to this documentation, please refer to http://www.redhat.com/docs/manuals/linux/

 

 
Quotes: Good humor is a tonic for mind and body. It is the best antidote for anxiety and depression. It is a business asset. It attracts and keeps friends. It lightens human burdens. It is the direct route to serenity and contentment.