{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

assignment-3 - directory give a command that will move...

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

View Full Document Right Arrow Icon
Assignment 3 1. What symbol represents the root directory? 2. What is the full path name of your home directory? 3. If you had a subdirectory called subdir1 in your home directory, and your home directory was your current working directory, what command would allow you to switch to subdir1 as your working directory? 4. Assuming you were successful in question 3, what command would allow you to return to your home directory as your working directory? 5. Suppose you were in subdir1 . Without changing working directory, give the cat with the stuff needed so that the contents of a file named junk in your home directory would appear on the screen. 6. What are the two commands that allow you to create and destroy directories? 7. What does a single ‘ . ’ (period or dot) stand for in the linux file system? 8. Suppose you have a file name file1 and a subdirectory named subdir1 in your home directory. Assuming your home directory is your current working
Background image of page 1

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

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: directory, give a command that will move file1 to subdir1 . 9. What 3 categories of users can have access permissions set for them? 10. What do the letters r, w, and x stand for in the context of access permissions? 11. What are the default access permissions for your .plan ? (In other words, what permissions currently exist on yours?) 12. If I own a file named file1 , what does this command do? chmod a-r file1 1 13. If you give the command ls –l , how do you know if something is a directory? 14. Suppose you’re in your home directory, subdirectory subdir1 and file file1 exist there, and the following command is given: ln file1 subdir1 How many copies of file1 now exist? 15. Using the same assumptions as question 14, and assuming that the command there has been given, suppose the following command is then given from the home directory: rm file1 Now how many copies of file1 exist? 2...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

assignment-3 - directory give a command that will move...

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

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