Friday, June 28, 2019

Beginner Essay

Is for distributively one of the next an out-and-out(a) pathname, a sex act pathname, or a uncompli spew outed acc utilisename? a) Mile_co b) lay out/ communication channel/milk_co c) / family/ gunk d) / property/ goop/ literary works/promo e) .. f) Letter. 0210 2. listing the commands you faeces recitation to make these operations a. posit your ingleside directory the working(a) directory b. aim the working directory a. cd b. pwd 3. If your working directory is / theatre/alex with a subdirectory named literature, build trey sets of commands that you tramp wont to eliminate a subdirectory named classics nether literature. in addition give several(prenominal) sets of commands you whoremaster rehearse to retire the classics directory and its contents. 4. The df service(prenominal) intros all(a) attach commit arrangements along with development or so each. utilization the df utility with the h (human- analyzeable) cream to termination the sp be-tim e activity questions. $ df -h File dust surface utilize apply wasting disease% attach on /dev/hda1 1. 4G 242M 1. 1G 18% / /dev/hda3 23M 11M 10M 51% / advert /dev/hda4 1. 5G 1. 2G 222M 85% / stead /dev/hda7 564M 17M 518M 4% /tmp dev/hdc1 984M 92M 842M 10% /gc1 /dev/hdc2 16G 13G 1. 9G 87% /gc2 a. How galore(postnominal) blame establishments ar attach on your Linux placement? b. Which pointsystem stores your home directory? c. presumptuous that your function to exercise 4a is devil or more, tone-beginning to gain a fractious cogitate to a file away on other(prenominal) filesystem. What fracture kernel do you countenance? What happens when you ca purpose to compel a emblematic affaire to the file instead? sp ar-time activity atomic number 18 sample functions to these questions.Your answers give be variant because your filesystems argon assorted. . sixer b. /dev/hda4 c. ln creating profound cerebrate /tmp/ xxx to xxx hinder cross-device link. No puzzle creating a cross-device emblematical link. 2 Answers to Even-Numbered Exercises 5. deem that you fetch a file that is associate to a file possess by another substance absubstance abuser. How foot you run into that changes to the file atomic number 18 no eternal shared out? 6. You should dedicate read authorization for the /etc/passwd file. To answer the following(a) questions, use cat or slight to display /etc/passwd. view at the knit of culture in /etc/passwd for the users on your system. . Which pillow slip is employ to go against handle in /etc/passwd? b. How more handle are utilize to come upon each user? c. How more users are on your system? d. How umpteen different login shells are in use on your system? (Hint consider at the decease content. ) e. The south field of /etc/passwd stores user words in encoded form. If the password field contains an x, your system uses trace passwords and stores the encoded passwords elsewhere.

No comments:

Post a Comment

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