How do you list the files in an UNIX directory while also
showing hidden files?
Answers were Sorted based on User's Feedback
Answer / srinath.p
$ls -Ra
This command shows all the hidden files in the directory
and all of it's subdirectories.
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / suchitra
ls-a
will give all the files including hidden files
ls-R
which will give u the sub directories in the current
directory
hence to list both the subdirectories and the hidden file
list give
ls-aR
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / upendar
ls -a
-It will give all the Files and Sub Directories including Hidden files.
ls -r
- It will give all the files in Descending or Reverse order.
| Is This Answer Correct ? | 1 Yes | 2 No |
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is grep command in unix with examples?
What command is used to replace the existing string with some other?
Through which command will redirect output to bOth screen and files at the same time?
What is grep and how do you use it?
How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.
3 Answers Amazon, MBA, Syntel, TCS, Unisys,
what are the uses of filters?
what is the use of nice command?
How to remove a crontab file?
What is the difference between cat command and more command?
What does the command ' $who | sort –logfile > newfile' do?
what are the different hardwares available?