OPERATING SYSTEMS FOR COMPUTERS
COMMAND LINE INTERFACE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
cd
|
|
CD
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -cd path-to-directory : The command followed by a path allows you to change into a specified directory (such as a directory named documents ). cd .. (two dots). The .. means “the parent directory” of your current directory, so you can use cd .. to go back (or up) one directory.
Detailed explanation-2: -bd command allows users to quickly go back to a parent directory in Linux instead of typing cd ../../.. repeatedly. You can list the contents of a given directory without mentioning the full path ls ‘bd Directory Name‘ . It supports following other commands such as ls, ln, echo, zip, tar etc..
Detailed explanation-3: -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).
Detailed explanation-4: -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-5: -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.