Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Part II Linux s: Multiple choice . Which of these is a UNIX command which will l

ID: 3698510 • Letter: P

Question

Part II Linux s: Multiple choice . Which of these is a UNIX command which will list the contents of a directory? become root user and do some administration A. pwd B. Is C. list D. files E. directory tasks. Which of the following should he use? A root B super C admin D su root 12. 2. To switch to root user, you would use which command? In Fedora 20, a regular user, john, wants to check the options for ps command. He type man ps A. directory B. create C. make D. mkdir Which of the following will terminate man su 3. To show the path of current directory, you would use which command? 13. In Fedora 20, a regular user, john, is working under A. remove B. erase C. delete D. pwd E. rmdir a sub-directory, dir1, under his login home directory. He type pwd What is output of this command? 4. The default shell of Fedora is A. C B. Korn C. Baslh D. emacs E. None C lhome 14. In Fedora 20, a regular user, john, is working under his login home directory. He type 5. Partial output of Is-F command is: What does this command do? A Show files under B Show files under /usr C Show files /home D Show files /homeljohn Work1* Work2/ Which of the following is correct? A. Work2 is executable, Work1 is a directory B. Both are executable C. Work1 and Work2/ are two files D. Work1 is executable, Work2 is a directory E. None of above 6. To terminate the root user mode, which command you would use: ?.ps B. left C. cat D. exit E. disk 7. The command, man, will create a sub-directory. True or false? A. True B. False A. C. present 8. is the current directory D. current 10. The pathname for the directory that you are wokring in. command will display the absolute A. dir B. whereami C. pwd D. Is 11 In Fedora 20, a regular user, john, wants to

Explanation / Answer

1)Answer:

B. ls

Explanation:

ls is a Linux shell command that lists directory contents of files and directories.

2)Answer:

E. su

Explanation:

The su Command. ... It is also sometimes called the switch user command. Advantages of Using su. su is usually the simplest and most convenient way to change the ownership of a login session to root or to any other user.

3)Answer:

D. pwd

Explanation:

In Unix-like and some other operating systems, the pwd command (print working directory) writes the full pathname of the current working directory to the standard output.

4)Answer:

c. bash

Explanation:

The default shell for most Linux distributions, including Fedora, is the GNU bash or Bourne Again SHell, but other shells, such as tcsh, ksh, and zsh are available for use.

6)Answer:

D. Exit

Explanation:

Just type exit and you will leave the root shell and get a shell of your previous user.

7)Answer:

False

Explanation:

The man command is used to format and display the man pages. The man pages are a user manual that is by default built into most Linux distributions (i.e., versions) and most other Unix-like operating systems during installation.

10)Answer:

C. pwd

Explanation:

The pwd command displays the full, absolute path of the current, or working, directory