adplus-dvertising
frame-decoration

Question

The output of ls dir* is ___

a.

all files in the current directory

b.

all files in the directory having filename starting with dir

c.

no filename is displayed

d.

erroneous

Posted under UNIX

Answer: (b).all files in the directory having filename starting with dir

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The output of ls dir* is ___

Similar Questions

Discover Related MCQs

Q. Which command is used for displaying contents of a file?

Q. What is the function of cp command in UNIX?

Q. Which option is used with cp command for linking files instead of copying?

Q. $ cp -f copies forcefully.

Q. –v option is used with cp command for displaying _____

Q. Which command is used for removing/deleting files in UNIX?

Q. What if the destination file specified in mv command already exists ?

Q. Apart from renaming files, mv command can also

Q. The inode number associated with a file is changed after renaming it.

Q. Which option is used for backing up destination file in mv command?

Q. Which option is used with mv command so that the destination file does not get overwritten?

Q. –f option when used with mv command overwrites existing files without prompting any messages.

Q. Which command is used for comparing two files?

Q. Which command is used for counting words, lines and characters in a file?

Q. Which command is used for knowing the file type?

Q. file command identifies the file type by examining the magic number of the file.

Q. UNIX offers a pager named ____ which has replaced the original pager of UNIX called ____

Q. Which of the following is not an internal command for more?

Q. Which of the following is used to compress files?

Q. Which of the following key options is used with tar to create an archive?