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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the command ' $who | sort –logfile > newfile' do?

768


Who command in unix operating system?

661


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

797


What is grep r?

591


Write a command that will display files in the current directory, in a colored, long format.

683






What are the commands in UNIX to list the files in a Directory?

616


What does pipe () return?

592


Explain ‘system calls’ with respect to unix commands?

600


What do chmod, chown, chgrp commands do?

635


Which unix command to make a new directory?

588


How do I use nslookup?

573


What is grep command in unix with examples?

604


What is the difference between awk and grep?

558


What is awk command used for?

599


What do chgrp command do?

590