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 is grep r?

595


What is “chmod” command?

568


What is the use of finger command?

603


What is the use of egrep command in unix?

630


What is the comma to show the space allocation of files?

562






What is the significance of the 'tee' command?

600


What does awk stand for?

615


How do I open a port?

596


Why is it called grep?

565


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

765


Is grep faster than awk?

565


What is command substitution?

627


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

622


What is ctrl d?

597


How does pipe () work?

598