adplus-dvertising
frame-decoration

Question

How can we identify executables and directories from the output of ls command?

a.

using –F option

b.

using -x option

c.

using –a option

d.

using –i option

Posted under UNIX

Answer: (a).using –F option

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How can we identify executables and directories from the output of ls command?

Similar Questions

Discover Related MCQs

Q. $ ls -R outputs all files and subdirectories in a recursive manner.

Q. –r option is same as –R option in ls command.

Q. What does the –S option do in ls command?

Q. ls –s prints the allocated file size in blocks.

Q. Apart from displaying file contents, cat command is also used for _____ files.

Q. Multiple arguments as filenames can be specified in cat command.

Q. Which symbol is used with cat command for creating files?

Q. If we create a file using cat command with the same filename which already exists in the current directory then,

Q. Which symbol is used to append an existing file?

Q. Which option is used with cat command for displaying non-printable characters?

Q. Which option is used with the cat command for displaying file with line numbers?

Q. Which of the following cannot be performed by cat command?

Q. What does cat file01 file01 file01 display?

Q. Which files will be displayed by the following command:

cat *file*

Q. Which command is used to create empty files?

Q. Which option is used with touch command which forces the command not to create file, if it does not exists.

Q. Which one of the following commands is incorrect?

Q. What happens if the destination file specified in cp command does not exist?

Q. Which of the following is not an option of cp command?

Q. What is the correct syntax for copying multiple files with a filename starting as ‘file’ into another file named as ‘directory_one’?