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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of finger command?

598


What is the use of egrep command in unix?

624


What is the difference between cat command and more command?

599


What happens when we execute a unix command?

597


Which command is used to kill the last background job?

772






Which command is used to copy files?

556


What is the use of the command 'ls -x chapter[1-5]' ?

659


What does #!/ Bin sh do?

588


Why is grep called grep?

777


Explain how to use grep command to list find the records of a file containing 10 different strings?

593


What is the use of find command in unix?

578


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

954


What command is used to switching between users in unix?

560


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

662


What does the metacharacter mean?

608