How do you list the files in an UNIX directory while also
showing hidden files?

Answers were Sorted based on User's Feedback



How do you list the files in an UNIX directory while also showing hidden files?..

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

How do you list the files in an UNIX directory while also showing hidden files?..

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

How do you list the files in an UNIX directory while also showing hidden files?..

Answer / venkatesh

ls -a it give all the file and directory including hidden files

Is This Answer Correct ?    1 Yes 0 No

How do you list the files in an UNIX directory while also showing hidden files?..

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

How do you list the files in an UNIX directory while also showing hidden files?..

Answer / vawani

ls -ltra

Is This Answer Correct ?    0 Yes 1 No

How do you list the files in an UNIX directory while also showing hidden files?..

Answer / sagar

ls -ltr

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More Unix Commands Interview Questions

How do you list the files in an UNIX directory while also showing hidden files?

6 Answers  


Which is the command used to find out currently executing Process in UNIX?

6 Answers   Amazon,


How do you find out all processes that are currently running in UNIX OS?

10 Answers  


what is exact definition of operating system?

13 Answers  


what is the functionality of kernel in unix architecture?

13 Answers   HCL,






How to create hardlinks and softlinks on files?

2 Answers  


How do I run a bash script?

0 Answers  


How do you move a process which is running background to foreground?

9 Answers  


What is the size of time_t?

0 Answers  


what is the use of wild cards?

2 Answers  


What are grep patterns?

0 Answers  


how unix kernel distinguishes between a normal file and device file ?

7 Answers   Google, IBM, McAfee, Vodafone,


Categories