Title | CIT 352 Chap 03 Hands-On Projects.docx week 3 |
---|---|
Author | Jefferson Nartey |
Course | Operating Systems I |
Institution | Brigham Young University-Idaho |
Pages | 8 |
File Size | 642.9 KB |
File Type | |
Total Downloads | 98 |
Total Views | 136 |
Download CIT 352 Chap 03 Hands-On Projects.docx week 3 PDF
CIT 352
Chapter 3
Name: Jefferson Nartey Complete all Projects by executing every step in each project. For those steps listed below, follow the specified instruction. Project 3-1 Step 14 What would have been the absolute pathname you could have used? cd/home/user1/Desktop
Project 3-2 Step 10 Insert the screen capture
1
Project 3-3 Step 16 Insert the screen capture
I had a little problem figuring out this part, because some of the commands were not working.
2
Project 3-4 Step 10 Insert the screen capture
3
Project 3-5 Step 34 Insert the screen capture
4
Project 3-6 Step 8 Insert the screen capture
Project 3-7 Step 15 Insert the screen capture 5
Command Reference (List all new commands you learned in this chapter) Pwd Cd cd etc cd /etc cd / cd ~user1 cd Desktop ../../.. cd /etc/samba cd ../sysconfig cd ../../home/user1/Desktop ls | more h q ls | less 6
ls /etc ls /etc/skel ls -a /etc/skel ls -aF /etc/skel ls -F /bin/* ls –l /boot file /etc/inittab cat /etc/hosts cat –n /etc/hosts etc/hosts cat /etc/inittab head /etc/inittab head -5 /etc/inittab head -3 /etc/inittab tail /etc/inittab tail -5 /etc/inittab strings /bin/nice file sample1 cat sample1 vi sample1 !date r !date s/Bob/Barb/g, type s/flies/ flies and bears/g grep -v “Inn” sample1 grep “inn” sample1 grep “ I ” sample1 grep “t.e” sample1 grep “w...e” sample1 grep “^I” sample1 grep “(we|next)” sample1 egrep “(we|next)” sample1 grep “Inn$” sample1 grep “?$” sample1 grep “^$” sample1
7
Discovery Exercises Solve the following problems from the textbook under Discovery Exercises. Search the Internet for answers if you don’t know. 2. a. cd /usr b. cd../../usr c. cd /usr/local/share/ d. cd share/info e. cd /etc f. cd ../../etc 3. a. b. c. d. e. f.
8
ls -a /etc ls -a /home/user1 ls -d /var ls -a /bin/[a] ls -a /bin/??? ls -a /bin/???[ht]...