SHES2300-LinuxExercises - 1 SHES2300 OPERATING SYSTEM Linux...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
79cdb4040f68dab58635fc4d409a4b5e05aa2da5.doc 1 SHES2300: OPERATING SYSTEM Linux Tutorial for Beginners Exercises Exercise 1 Login to your linux account. 1. Do an "ls" to see the files you have in your directory. 2. Type in "pwd" . What do you see? 3. Type in "uname -a" . What do you see? 4. Now, type in "clear" . What happens? 5. Please type in "man pwd" . What do you see? Use the spacebar to scroll through, and press "q" to quit. 6. Now type in "mkdir" . What happens? 7. Now type "mkdir exercise1" 8. Type "ls". Now what do you see? 9. Type "cd exercise1". 10. Type "pwd". Where are you now? 11. Type "touch xfile1". 12. Type "ls". What do you see now? 13. Type ls with an -al switch. What do you see? Can you tell how big the file is? 14. Type "cp xfile1 xfile2" . Again, type "ls". What do you see now? 15. Type "rm xfile2". Again, type "ls". What is there? 16. Repeat the "rm" command on the other file. Do an "ls -al" to see what's in the directory. Hint: It should be empty.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

SHES2300-LinuxExercises - 1 SHES2300 OPERATING SYSTEM Linux...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online