FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMMAND LINE INTERFACE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which command at the Windows command prompt returns you to the parent directory?
A
cd..
B
cd.
C
cd
D
None of the above
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: -Displays the name of the current directory or changes the current directory. If used with only a drive letter (for example, cd C: ), cd displays the names of the current directory in the specified drive. If used without parameters, cd displays the current drive and directory.

Detailed explanation-3: -Type cd  into the prompt to go back to the directory. If you need to navigate from a location back to the main command prompt, this command takes you back immediately.

Detailed explanation-4: -To move back to the root directory type cd to get to the C: prompt. If you know the name of the directory you want to move into, you can also type cd and the directory name. For example, to move into C:>, type cdat the prompt.

Detailed explanation-5: -You can go back to the parent directory of any current directory by using the command cd .., as the full path of the current working directory is understood by Bash . You can also go back to your home directory (e.g. /users/jpalomino ) at any time using the command cd   (the character known as the tilde).

There is 1 question to complete.