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

QUESTION 6 The \"ls\" program has many features or options. What command would y

ID: 3832417 • Letter: Q

Question

QUESTION 6

The "ls" program has many features or options. What command would you type to view the manual or documentation for the "ls" command?

a.doc ls

man ls

ls info

ls manual

QUESTION 7

In the vi text editor, what commands would you type to save your document and quit?

ESC q!

F1 q

:sq

ESC :wq

QUESTION 8

When the last character in the shell prompt is a pound sign (#) instead of a dollar sign ($), what does this usually mean?

It means that the terminal session has superuser or root privilges.

It means that you have logged in from a remote terminal.

It means that your last command was invalid.

It means that you have just logged on and there is no command history yet.

QUESTION 9

What is the definition of the Unix shell?

The shell is also known as the kernel of the operating system.

The shell is a program that must run on the graphical user interface in Unix.

c.The shell is a program that takes keyboard commands and passes them to the operating system to carry out.

The shell is also known as the firewall for Unix.

QUESTION 10

What is the traditional Linux C compiler?

lc

bash

vmlinuz

gcc

a.doc ls

b.

man ls

c.

ls info

d.

ls manual

Explanation / Answer

ANSWERS FOR:

QUESTION 6: (b) man ls

This command is used to view the manual or documentation.

QUESTION 7: (d) ESC :wq

To get into the ex mode, press [Esc] key and then : (the colon). For example, to exit from vi saving changes, press [Esc], : (colon) and type wq

QUESTION 8: (a) It means that the terminal session has superuser or root privilges.

when you log in as root, your default command prompt is the pound (#) sign, but if you log-in as a regular user, the prompt changes to a dollar sign ($).

QUESTION 9: (c) The shell is a program that takes keyboard commands and passes them to the operating system to carry out.

The shell provides you with an interface to the UNIX system. It gathers input from you and executes programs based on that input. When a program finishes executing, it displays that program's output.

QUESTION 10: (d) gcc

The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain and the standard compiler for most Unix-like Operating Systems.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote