Preview

Chapter 5 Homework

Satisfactory Essays
Open Document
Open Document
395 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Chapter 5 Homework
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

You May Also Find These Documents Helpful

  • Good Essays

    Homework Chapter 4

    • 1675 Words
    • 7 Pages

    3. Allen visits Reno, Nevada, once a year to gamble. This year his gambling loss was $25,000. He commented to you, “At least I didn’t have to pay for my airfare and hotel room. The casino paid that because I am such a good customer. That was worth at least $3,000. “What are the relevant tax issues for Allen?…

    • 1675 Words
    • 7 Pages
    Good Essays
  • Good Essays

    | The default shell is bash. The shell allows users to type commands and have the output displayed on the screen.…

    • 489 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Unit 3 network discovery

    • 1031 Words
    • 5 Pages

    The shell tries to find an executable program with the same name as the command. When it does, the shell executes the program. When finishing the command put an & ampersand symbol at the end of the command and the command will run in the background. Then a cursor will be displayed immediately to allow the next command to be entered.…

    • 1031 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    NT1430

    • 369 Words
    • 2 Pages

    A bash script is a file containing a list of commands to be executed by the bash shell. Bash scripts have many uses that they can be used for. For example, you could write a simple bash script that will change the background color on your screen. Also with bash scripts, you can run them when you want to. They don’t have to be run right away, you have the freedom to do it when you want to.…

    • 369 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    With no options, set displays the current listing of Bash environment and shell script variables.…

    • 604 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    9. Ensure balance sheets and income statements are accurate. Check to make sure receivables and payables are accurate. Ensure assets are valued correctly. Anything that might suspect fraud or management misstatement.…

    • 213 Words
    • 1 Page
    Satisfactory Essays
  • Better Essays

    3. Tina incorporates her sole proprietorship with assets having a fair market value of $100,000 and an adjusted…

    • 5581 Words
    • 23 Pages
    Better Essays
  • Good Essays

    Homework for Chapter 20

    • 1208 Words
    • 5 Pages

    How much of our global energy supply do nuclear power, biomass energy, and hydroelectric power contribute? How much of our global electricity do these three conventional energy alternatives generate?…

    • 1208 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Chapter 5 Quiz 1

    • 782 Words
    • 5 Pages

    The imagery in a passive voice sentence is less distinct than it would be if the sentence was in active voice.…

    • 782 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Linux Assignment 3

    • 1307 Words
    • 6 Pages

    1. What does the shell ordinarily do while a command is executing? What should you do if you do not want for a command to finish before running another command?…

    • 1307 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    lolz

    • 480 Words
    • 4 Pages

    C. It will move the contents of temp1 from directory temp to temp1 of current directory and when finished it will erase the…

    • 480 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Chapter 1-6 assignment

    • 3942 Words
    • 16 Pages

    Variables and their attributes (or values) are at the heart of examining relationships in the…

    • 3942 Words
    • 16 Pages
    Good Essays
  • Better Essays

    Chapter Sub 2

    • 958 Words
    • 4 Pages

    1. Do you agree that the Bible is a divine-human book? Why or why not?…

    • 958 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    Chapter 3 Homework 1

    • 3486 Words
    • 77 Pages

    AssignmentPrint View 4 t . Page1 of26 it11'"," i. Oepreciation for 2011is computed to be $1O,OOO. on the company's equipment beforeadjusting b. The PrepaidInsurance accounthad a $6,000debitbalanceat December31,2011, for the costsof any expiredcoverage.…

    • 3486 Words
    • 77 Pages
    Satisfactory Essays
  • Good Essays

    Scripts

    • 1613 Words
    • 7 Pages

    To write a script, start a text editor (such as Notepad) or a script editor…

    • 1613 Words
    • 7 Pages
    Good Essays

Related Topics