Beginning Fedora 2

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.

Категории