answersLogoWhite

0

In a Linux (I use Ubuntu) terminal, type ls to print a list of directories on the screen.

Use man ls for the manual page.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What is the purpose of -d to the ls command?

The -d option in the ls command is used to list the directory itself rather than its contents. When you include -d followed by a directory name, it displays the directory's name and attributes instead of listing the files and subdirectories within it. This is particularly useful for retrieving information about the directory without delving into its contents. For example, ls -d /path/to/directory will show details about the specified directory only.


What is the meaning of word temp when you type it in run option of start menu?

temp in the run command box causes windows explorer to open showing the contents of the windows\temp directory.


How would you use SSH to compare the contents of a directory on bravo and the local system?

To compare the contents of a directory on the remote system "bravo" with the local system using SSH, you can use the rsync command. Run rsync -avz --dry-run user@bravo:/path/to/remote/directory/ /path/to/local/directory/, replacing user with your username. The --dry-run option allows you to see the differences without actually transferring any files. This command will list any files that differ between the two directories.


When would you use the AutoFit to Contents option?

to adjust colums


How do you include an user defined header file that is located in a directory?

Every header file is located in a directory. You use a compiler option (-I) to specify include directory to the compiler.Example:gcc -W -Wall -pedantic -I/my/favourite/directory -o prog.o -c prog.c


How you display the premission for a file or directory?

Use the 'ls' command with the '-l' (long listing) option


How do you display permissions for a file or directory?

Use the 'ls' command with the '-l' (long listing) option


What is recursive behavior of command in Linux?

Recursive behavior in Linux commands involves executing an operation on a directory and all of its subdirectories and files. For example, using the -r or --recursive option with commands like cp, rm, or chmod allows these commands to apply the specified action not just to the target directory but also to all its contents recursively. This is particularly useful for managing large directory trees efficiently. However, it should be used with caution, especially with destructive commands like rm, to avoid unintentional data loss.


How do you create a telephone directory on a new phone system?

Creating a telephone directory depends on the specific equipment and phone system. Your best option is to contact your phone company and have them talk you through it.


How do you display the permissions for a file or directory?

Use the 'ls' command with the long listing option: ls -l


Which feature allows you to ask excel for a list of entries with the 10 largest or 10 smallest numbers?

The Auto Filter option.


What option do you select when you want to insert the entire contents of a Word file into Excel?

Create from File