Exercises


Now that you have spent some time exploring various aspects of the filesystem, try out the following exercises to reinforce your understanding:

  1. Calculate the size of all files under the /etc directory.

  2. Create a file called story.txt containing the following line of text:

     The quick brown fox jumps over the lazy dog 

    Use the sed command to change the contents of the file to the following:

     The quick brown dog jumps over the lazy fox 
  3. Use the find command to list files that are greater than 500KB in size created by users of the system.




Beginning Fedora 2
Beginning Fedora 2
ISBN: 0764569961
EAN: 2147483647
Year: 2006
Pages: 170

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net