answersLogoWhite

0

The ls command.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the Command to see the contents of a directory in UNIX?

Use the 'ls' command.Try 'man ls' to see the options


What is the command to view the contents of a directory?

Go to the directory by "CD" command say "CD MyDoc" and press enter.. Now run "dir" command to see the contents of the directory..


Batch file check if directory exsits?

For Unix/Linux, consider the following: # Check to see if directory specified by user exists if [ -d $1 ]; then echo $1 is a directory and exists fi In Windows: if exist "Directory\" echo Yes


How do you find a file in Unix?

All Unix systems provide a 'find' command that searches for specific files in a given directory. To find a file that has the word "foo" in the /usr directory, I would type: $ find /usr -name *foo* For more information, see 'man 1 find'.


How do you use ticks in PHP?

Backticks in PHP are simply shorthand for calling shell_exec on their contents, as in most Unix shells. See the related link.


Which command is used to see the content of file?

You can get a list of all the files in the current directory with the "ls -a" command.


How is the globe used today?

to see where the contents are :)


How will you know the time taken by each process or program on Unix?

Use "time". For example instead of using "ls" to get a directory listing, using "time ls" will give the directory listing as well as the time to execute the ls command. You can execute "ps -ef" and look in the TIME column to see how many minutes and seconds of CPU time each process has used.


Why unix is not effected by virus?

Unix systems may be affected by viruses .. see related link.


What is the command to be used to see all the files in a directory?

The command in a terminal is: ls (short for List). This will list the files in the current directory. Whilst in the Home directory, to list the files in a different directory, for instance Videos, use: ls Videos.


Who devloper of UNIX?

See related link


Write a shell script to sort all the files in the current directory in an alphabetical order and direct the sorted list to a new file?

The following simple shell command lists the contents of a directory (verbose), and redirects the output to 'newfile.txt': ls -l > newfile.txt See related links.