Question
a.
ls
b.
ls -a
c.
ls .???*
d.
ls *
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 of the following command will list all the hidden filenames in our directory having at least three characters after the dot (.) ?
Similar Questions
Discover Related MCQs
Q. * and ? cannot match ____
View solution
Q. rm chap0[1234] will delete all of the following files.
chap01 chap02 chap03 chap04
View solution
Q. Which of the following files will not be listed using the following command?
ls chap0[1-4]
View solution
Q. Which of the following symbol is used for negating the character class?
View solution
Q. Which of the following shell doesn’t support ! symbol for negating the character class?
View solution
Q. The command cd * will work.
View solution
Q. Providing a backslash (\) before the wild card to remove its special meaning is called _____
View solution
Q. Enclosing the wild card or the entire pattern within quotes is called ___
View solution
Q. Redirection is a process of switching of the standard stream of data.
View solution
Q. How many files are used for representing different streams?
View solution
Q. Which stream is connected to the display?
View solution
Q. Which stream is used for representing error messages?
View solution
Q. The command wc < sample.txt will count data from the file sample.txt.
View solution
Q. Which symbol is used for taking input from both file and standard input?
View solution
Q. Which of the following symbol(s) can be used to redirect the output to a file or another program?
View solution
Q. The >> symbol is used to overwrite the existing file if it exists.
View solution
Q. Which file descriptor is used to represent standard error stream?
View solution
Q. We can redirect the error message to file named newfile using __________ command.
View solution
Q. The category of commands which uses both standard input and standard output are called ____
View solution
Q. The contents of file001 are:
232
25*50
What will be the contents of result.txt?
bc < file001 > result.txt
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!