Till KTH:s startsida Till KTH:s startsida

Unix introduction

Introduction to Unix

Solve these assignments in a terminal window, and perhaps using a browser.
  1. Create a directory structure for this lab in your home directory using mkdir and cd. There should be a directory for the course, and within it a directory for each lab.
  2. Use the man command to figure out...
    1. ... what the command "ls -l" does.
    2. ... how you delete a directory and its contents with rm.
  3. Find out, perhaps using man, what the following commands are for.
    1. cat
    2. more or less
    3. head
    4. tail
    5. wc
    6. grep
    7. sort
    8. uniq
    9. cut

To present:
  • You should be able to show and explain what you have done to the teacher.