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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are file commands?

650


What happens when we execute a unix command?

597


Who command in unix?

572


What is the function of grep command in unix?

588


What does this command do,"$more readme.txt“?

689






What is the use of egrep command in unix?

624


How does shebang work?

588


What is the difference between cat command and more command?

599


What is the command to compare two files in unix?

618


What does grep v do?

557


Which unix command to make a new directory?

590


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

623


Enlist some filename manipulation commands in unix.

549


What is merge command in unix?

942


What's a command word?

587