Linux® Directory Log

To: Facilitator’s name

From: Your name

Date: mm/dd/yyyy

 

Directions: As you complete each step listed below, keep track of what occurs at each point: what you type and the output given, and if you experience any errors. Record the occurrences in the matrix below.

 

What to submit: You need to submit the screen shots of your unix screen where you type commands.

 

Here is a sample screen. You can show in multiple screens or in one screen.

  1. Create 2 directories under your home, account1 and account2
  2. Change your directory to account1
  3. Create 2 directories called checking1 and savings1

 

Here is the assignment:

  1. Open a terminal and show the log how you create the following: (5 marks)
  2. Create 2 directories under your home, account1 and account2
  3. Change your directory to account1
  4. Create 2 directories called checking1 and savings1
  5. Go to checking1 directory
  6. Using touch command, create two files c1.dat and c2.dat
  7. Change your directory to savings1 using relative path
  8. Using touch command, create two files s1.dat and s2.dat
  9. Go to your home directory
  10. Change your directory to account2
  11. Create 2 directories called checking2 and savings2
  12. Go to checking2 directory
  13. Using touch command, create two files c3.dat and c4.dat
  14. Change your directory to savings2 using relative path
  15. Using touch command, create two files s3.dat and s4.dat
  16. Change to account1 directory
  17. Show the commands for the following. (5 Marks)

(Each carries 1 mark from A to E and in each one mark, ½ is for the command and ½ for the output)

  1. You are now in account1 directory. Copy s1.dat to this directory using relative path. Show the new file that copied with ls command from this directory. Do not change the directory.

Ans:

  1. Move c1.dat to savings1 directory using relative path as s1.dat. Show s1.dat with ls command from this directory. Do not change the directory.

Ans :

  1. Change your directory to savings2 using absolute path. Show the current directory after you changed.

Ans:

  1. Copy c2.dat to your sibling directory, checking2 using relative path (Sibling directories have same parent) (Also do not use ~ ). Show c2.dat with ls command from this directory, do not change the directory .

Ans:

  1. Move s4.dat to savings1 directory using absolute path. Show s4.dat with ls command from this directory, do not change directory

Ans:

Last Updated on January 26, 2018 by Essay Pro