Question: QUESTION 4 Which UNIX shell operator will perform which function? - A. B. C. D. Append output to a file - A. B. C. D.

QUESTION 4

  1. Which UNIX shell operator will perform which function?

    - A. B. C. D.

    Append output to a file

    - A. B. C. D.

    !!

    - A. B. C. D.

    <

    - A. B. C. D.

    Neutralize a single metacharacter

    A.

    Re-direct input into a command string from a file

    B.

    \

    C.

    Recall last command

    D.

    >>

10 points

QUESTION 5

  1. cd to the /etc directory.

    Execute the following command.

    ls -l au*.[mn]*

    The output is the following:

    -rw-r--r-- 1 root root 675 Jan 24 19:04 auto.master

    -rw-r--r-- 1 root root 524 Mar 22 2012 auto.misc

    -rwxr-xr-x 1 root root 1374 Mar 22 2012 auto.net

    This is exactly the output I was hoping for.

    What function are the [ ] performing?

    They look good and balance the command string.

    The uniquely match the m and n characters to ensure only the desired output is generated.

    They neutralize the m and n characters to hide the output.

    They were used by mistake and have no meaning.

10 points

QUESTION 6

  1. Create an alias called li. When executed it will generate a long listing of files including the file i-node numbers.

    Will the following alias do this?

    alias li='ls -li'

    True

    False

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!