Chapter 5 Homework

Topics: Unix shell, Symbolic link, File system Pages: 2 (395 words) Published: August 31, 2013
Linux Networking Homework

Chapter 5
1. Who
whoami
who am i
finger
w
3. $ cp to_do done
'done' is overwritten with contents of 'to_do'
$ mv to_do done
'done' is overwritten with contents of 'to_do'
'to_do' no longer exists after the command

4. Give the command apropos editor. Typical editors are vim, ex, ed, and gedit 8. The which utility displays a message saying that the command you are looking for is not in the list of directories in your search path. For example, $ which me /usr/bin/which: no me in (/usr/bin/which: no me in

(/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/sam/bin) 10. Approximately 20.
Chapter 6
1. a= Directory File
b= relative
c= absolute
d= absolute
e= Hidden File or can be used for the relative parent directory f= Ordanary/Simple File
2. a. cd; b. pwd
3. a= mkdir /home/max/literature/classics, mkdir ~max/literature/classics, or mkdir ~/literature/classics

b= rmdir /home/max/literature/classics, rmdir ~max/literature/classics, rmdir ~/literature/classics, rm -r /home/max/literature/classics 4. a. 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. 6. a. colon (:); b. seven; c., d., and e. are system dependent

Explore and Discuss
a.Bash Scripts - is a text file containing shell commands. When such a file is used as the first non-option argument when invoking Bash, and neither the `-c' nor `-s' option is supplied, Bash reads and executes commands from the file, then exits. This mode of operation creates a non-interactive shell. b.Bash History – by pressing the up button or ctrl – r, list into the input stream, making it easy to repeat commands, insert the arguments to a previous command into the current input line, or fix errors in previous commands quickly. c.The Bourne shell - is a shell (computing), or command-line interpreter, for computer operating systems. d.Bourne again...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Chapter 5 Homework Essay
  • homework Essay
  • Chapter 5 Bus1A Homework Research Paper
  • Acc555 Chapter 5 Homework Research Paper
  • Managerial Economics Chapter 5 and 6 Homework Essay
  • Chapter 5 Essay
  • Essay on chapter 5
  • Chapter 5 Essay

Become a StudyMode Member

Sign Up - It's Free