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 |
Write a command that will display files in the current directory, in a colored, long format.
In vi editor how do you execute unix commands?
What does the command ' $who | sort –logfile > newfile' do?
How does shebang work?
What is the difference between cat and more command?
Write a command to display a file’s contents in various formats?
what is the difference between Touch & cat command
what is Online(STM) and offline diagnostics in HP-UX?
What is shrinking file system in AIX where it actually resides?
How to convert a hidden file to normal visible file?
Who invented grep?
What does sed command do in unix?