Wednesday, July 17, 2019

Beginner Essay

Is apiece of the followers an absolute pathname, a relative pathname, or a simple stickname? a) Mile_co b) delay/business/milk_co c) / ho affair/max d) / interior(a)/max/literature/promo e) .. f) Letter. 0210 2. List the commands you poop social function to perform these operations a. bemuse your home directory the work directory b. Identify the working directory a. cd b. pwd 3. If your working directory is /home/alex with a subdirectory named literature, give three sets of commands that you can use to bring out a subdirectory named classics under literature. similarly give several sets of commands you can use to remove the classics directory and its contents. 4. The df utility displays all mount file musical arrangements along with information about each. aim the df utility with the h (human-readable) option to arrange the following questions. $ df -h File organisation Size Used emolument Use% Mounted on /dev/hda1 1. 4G 242M 1. 1G 18% / /dev/hda3 23M 11M 10M 51% /boot /d ev/hda4 1. 5G 1. 2G 222M 85% /home /dev/hda7 564M 17M 518M 4% /tmp dev/hdc1 984M 92M 842M 10% /gc1 /dev/hdc2 16G 13G 1. 9G 87% /gc2 a. How umteen filesystems ar mounted on your Linux system? b. Which filesystem stores your home directory? c. Assuming that your answer to drill 4a is two or more, begin to create a hard relate to a file on another filesystem. What hallucination message do you get? What happens when you attempt to create a symbolic touch base to the file instead? Following atomic number 18 sample answers to these questions.Your answers will be polar because your filesystems are different. . six b. /dev/hda4 c. ln creating hard link /tmp/xxx to xxx Invalid cross-device link. No problem creating a cross-device symbolic link. 2 Answers to Even-Numbered Exercises 5. Suppose that you have a file that is linked to a file own by another user. How can you attend that changes to the file are no yearner shared? 6. You should have read permission for the /etc/passwd fil e. To answer the following questions, use couch or less to display /etc/passwd. prospect at the palm of information in /etc/passwd for the users on your system. . Which character is used to founder fields in /etc/passwd? b. How many fields are used to describe each user? c. How many users are on your system? d. How many different login shells are in use on your system? (Hint Look at the last field. ) e. The countenance field of /etc/passwd stores user newss in encoded form. If the password field contains an x, your system uses shadow passwords and stores the encoded passwords elsewhere.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.