MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which command Is used to change current directory to parent directory
A
Multiple Choice
B
cd.
C
cd..
D
none of these
Explanation: 

Detailed explanation-1: -The cd command can be used to change into a subdirectory, move back into the parent directory, move all the way back to the root directory or move to any given directory.

Detailed explanation-2: -To navigate to your home directory, use “cd” or “cd  ” To navigate up one directory level, use “cd ..” To navigate to the previous directory (or back), use “cd-” To navigate through multiple levels of directory at once, specify the full directory path that you want to go to.

Detailed explanation-3: -To change the drive and the directory at the same time, use the cd command, followed by the /d switch. The /d parameter is used to change the current drive to a specific folder from another disk volume.

There is 1 question to complete.