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

Why is awk called awk?

581


What is the behavioural difference between cmp and diff commands?

682


Differentiate cmp command from diff command.

592


Are you in or at the office?

612


What command will change your prompt to myprompt?

709






What difference between cmp and diff commands?

729


What is the use of find command in unix?

588


Who invented grep?

655


What is awk used for?

625


What does this command do? Cat food 1 > kitty

984


What are the differences among a system call, a library function, and a unix command?

571


Does cp command overwrite files?

628


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

562


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

801


How can we use grep command in unix?

621