What are the commands in UNIX to list the files in a Directory?
Answer / Sanjay Kumar Piporiya
The ls command is used to list the files and directories in a UNIX directory. To display hidden files as well, you can use the -a option (ls -a). To sort the files alphabetically, use the -S or -l options (ls -l or ls -S).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
How do I search for text in vi?
What is the first character of the output in ls l command?
Write a grep (or grep) command that selects the lines from a file that have exactly three characters.
how to change a normal file into hidden file
in unix echo is used for
10 Answers BFL, BirlaSoft, Patni,
How do you change file permissions and ownership in Unix?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
What do know about tee command and its usage?
How to know a process is a zombie or orphan process?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Write a command to kill the last background job?