In this movie we continue on to the use of input out put redirection. By themselves
commands can help you maintain a system. With redirection commands can be powerful.
There are five basic ways to redirect data. You can direct the output of a command
to a file. For example if you've run LS-LTAR the output scrolls by quickly. If
you want to review it you can direct the output of that command to a file. The
files scroll by quickly or I could direct the output of the command to a file.
The second use of the redirection is to take a file and use it as a database as
input to a command. For example, when I create new users I can use the new user,
user less command. In this particular case I configured the user list in the
same way VTC password is configured and then I can direct the contents of that
file as input to the new users command and that adds those users with a password
named temp pass to my password database file. You can impend output to the end
of a file. For example, if you want to preserve the previous list of files you
can use the LS-LTAR or Myco command and append the output to the file named file
list. As you can see that first works through the files in my root directory and
I've added or appended the files for my home MYCO home directory. I can forward
error messages with the two forward arrow command. For example I've introduced
an error in my x window configuration file so I when I run the start x command I
direct the error output to the GUI error file and I get a listing of error
messages. Finally I can pipe the output from one command as input to a second
command. One common practice is to pipe the output of a long list to the list
command which allows me to page up and page down or arrow up and arrow down
through a long listing of files or more. So instead of the long listing I can
pipe the output to the less command and I can page down page up arrow up or
arrow down through the file list. Thank you and on to the next tutorial.
Red Hat Certified Technician
Michael Jang
US$ 99.95
7 hours - 103 Movies
Win Vista XP 2000,ME. Mac OS X
Ground / 2 day / Next Day
33785
136 In Stock
Apex Web Media ( Hyperteach ) P.O Box 398 Bolton BL7 9YS, United Kingdom. Tel: +44 (0) 1204 592071 Fax: +44 (0) 1204 592092 Email:
Apex Web Media ( Hyperteach ) 600 17th Street, Suite 2800, Denver CO 80202 Tel: Toll free 1866 402 1903 (USA) / 434 878 4158 Fax: 1 207 433 4356 Email: