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 |
Differentiate cmp command from diff command.
What is $0 bash?
What is the use of tee command?
what are the different hardwares available?
What are the differences among a system call, a library function, and a unix command?
Name the unix command to find how many days the server has been up.
What is a Unix signal, and how do you handle them?
How to redirect standard error to a file?
What is a command and examples?
what is the use of "fg" command ?
If JFS file system is 100% full how we can increase the file system ?
In Unix file permissions what does the second field denotes?