Question
a.
HOME
b.
cd
c.
pwd
d.
dir
Posted under UNIX
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 printing the current working directory?
Similar Questions
Discover Related MCQs
Q. Pathname is a sequence of symbols and directories indicating the location of a file.
View solution
Q. Which command is used for listing files in a directory?
View solution
Q. –u option sorts the files according to ____
View solution
Q. –t option sorts the files according to ____
View solution
Q. The output of ls dir* is ___
View solution
Q. Which command is used for displaying contents of a file?
View solution
Q. What is the function of cp command in UNIX?
View solution
Q. Which option is used with cp command for linking files instead of copying?
View solution
Q. $ cp -f copies forcefully.
View solution
Q. –v option is used with cp command for displaying _____
View solution
Q. Which command is used for removing/deleting files in UNIX?
View solution
Q. What if the destination file specified in mv command already exists ?
View solution
Q. Apart from renaming files, mv command can also
View solution
Q. The inode number associated with a file is changed after renaming it.
View solution
Q. Which option is used for backing up destination file in mv command?
View solution
Q. Which option is used with mv command so that the destination file does not get overwritten?
View solution
Q. –f option when used with mv command overwrites existing files without prompting any messages.
View solution
Q. Which command is used for comparing two files?
View solution
Q. Which command is used for counting words, lines and characters in a file?
View solution
Q. Which command is used for knowing the file type?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!