Which of the following is the command for printing a working directory?

a. Mkdir
b. Pwd
c. rmdir
d. cd


b. Pwd
Explanation: Pwd prints the working (current) directory; Mkdir makes a directory; rmdir removes a directory; and cd changes directories.
9-3 - Linux Administration Commands

Computer Science & Information Technology

You might also like to view...

Choose a new, more descriptive name for the WhatIsIt function based on the result of the code below.

``` Function WhatIsIt(ByVal intRepeat as Integer) as Integer Dim intResult as Integer = 1 Dim intCount as Integer For intCount = 1 to intRepeat intResult = intResult * 2 Next intCount Return intResult End Function ``` a. PowersOfTwo b. SquareRootsOfTwo c. MultiplyByTwo d. TwoPlusTwo

Computer Science & Information Technology

If the following code fragment is executed in an otherwise complete and correct program, which expression will be executed? Why?

``` x = 0; if (x = 12) yes_statement; else no_statement; ``` a) The no_statement will be executed because x is not 12. b) The statement has incorrect syntax so will not compile at all. c) x=12 is illegal in the Boolean expression of an if statement. d) The yes_statement will be executed.

Computer Science & Information Technology

The organizational design of a Web site in which visitors progress through the Web site using different paths is the linear design

Indicate whether the statement is true or false

Computer Science & Information Technology

In MySQL, to move to the beginning of the current line, you need to press the ____ key(s).

A. CTRL + A B. Left arrow C. Backspace D. CTRL + E

Computer Science & Information Technology