Thursday, February 9, 2012

Unix Tools - More command on one command line

Syntax:
command1;command2
To run two command with one command line.
Examples:
$ date;who
Will print today's date followed by users who are currently login. Note that You can't use
$ date who
for same purpose, you must put semicolon in between date and who command.

No comments:

Post a Comment