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

Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


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

10 Answers  


What is time_t?

0 Answers  


Which command will print your home directory on screen?

0 Answers  


Name the general commands in using unix os for a beginner?

0 Answers  






How do you grep a case insensitive?

0 Answers  


What is the difference between Shell Programming and Shell scripting?

10 Answers   HCL, TCS, Wipro,


Write a command to find all of the files which have been accessed within the last 30 days.

14 Answers   Cisco,


In Unix file permissions what does the second field denotes?

3 Answers  


What is the first character of the output in ls l command?

0 Answers  


describe the escaping sequence characteres in unix

1 Answers  


Will rm -r* removes hidden files?

10 Answers  


Categories