OPERATING SYSTEMS FOR COMPUTERS
COMMAND LINE INTERFACE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
CD *.pdf
|
|
dir /pdf
|
|
dir *.pdf
|
|
list *.pdf
|
Detailed explanation-1: -You can also search for a particular file type by using a command dir . pdf /s and it will show you all files saved with the . pdf extension.
Detailed explanation-2: -Use the ls command to display the contents of a directory. The ls command writes to standard output the contents of each specified Directory or the name of each specified File, along with any other information you ask for with the flags.
Detailed explanation-3: -The ls (list) command is used to display the names of the files and subdirectories in the current directory.
Detailed explanation-4: -The dir command displays a list of files and subdirectories in a directory. With the /S option, it recurses subdirectories and lists their contents as well.