adplus-dvertising
frame-decoration

Question

Which command is used for changing the current directory?

a.

cd

b.

cp

c.

pwd

d.

rm

Posted under UNIX

Answer: (a).cd

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which command is used for changing the current directory?

Similar Questions

Discover Related MCQs

Q. cd command cannot be used without any argument.

Q. Which command is used for creating directories?

Q. We can create multiple directories by single invocation of mkdir command.

Q. What does the following command do?

$ mkdir dir dir/dir_01/dir_02

Q. Sometimes we are unable to create a directory because ______________

Q. Which command is used for removing an empty directory?

Q. Multiple directories can be removed using single rmdir command.

Q. For creating or removing directories, the user must be positioned above the directory or in the parent directory of the directory, on which the operation is to performed.

Q. If rmdir dir001 fails, what could be the reason(s)?

Q. pwd and echo $HOME will display the same output.

Q. What is an absolute pathname?

Q. What is a relative pathname?

Q. Which of the following cryptic symbols are used in relative pathname?

Q. $ cd . . is used to move ___ level up in the file hierarchy.

Q. $ cp file_01 copies the file named file_01 in ____ directory

Q. cd /bin/user/directory/abc is an example of relative pathname.

Q. The output of $HOME is an example of absolute pathname.

Q. The output of the following command is __________

$ cp abd/ .user_06

Q. For moving two level up in the file hierarchy system using cd command once, we separates ( . . ) by which symbol?

Q. Which option is used with ls command for long listing of files with seven attributes?