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 |
in unix echo is used for
10 Answers BFL, BirlaSoft, Patni,
How do you grep recursively?
what is the use of nice command?
distinguish between interrupts and exceptions?
what will this do $cat > file.c ?(file.c is a file in current directory)
What will the following command do?
How do you execute a UNIX command in the background?
what is the command to list all files in a directory, including the hidden files in UNIX ?
Are you in or at the office?
fork in unix ?
What is the command to view process running?
What is the command to check ports active in UNIX?