Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file? A. ls -F -x B. ls -l C. ls ~ x D. Ip E. None of the above

ls -F -x
ls -l
ls ~ x
Ip E. None of the above

The correct answer is A. ls -F -x.

The ls command is used to list the contents of a directory. The -F option tells ls to print a slash (/) after each directory name, and an asterisk (*) after each executable file name. The -x option tells ls to list hidden files.

The ls -l command lists the contents of a directory in long format. This includes the file name, permissions, owner, group, size, and modification date.

The ls ~ command lists the contents of the current user’s home directory.

The ip command is used to display information about network interfaces.

Therefore, the only command that displays the filenames in multiple columns with indication of directories and executable files is ls -F -x.