how do display only hidden files in unix?
Answer Posted / ram
In unix, hidden files are started with .
But whenever checking for hidden files, we should consider
the two extra ordinary files in evry directory.
'.' and '..'
. denotes to the present working direcory
.. denotes to the previous/parent directory
For filtering only for hidden files use
ls -la .??*
But this will consider the hidden files have length > 2.
So if a hidden file with one letter wont appear.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the features of unix operating system?
What are the file permissions and access modes in unix?
What is unix pattern?
How do I show hidden files in unix?
Which is a form of interprocess communication in unix?
Explain how do we change file access permissions?
Explain what is a fifo?
How to reverse a string in Unix?
What is unix file?
Explain the different types of pathnames that are used in unix.
Write a script that prints out date information in this order: time, the day of week, day number, month, year(sample output: 17:34:51 pdt sun 12 feb 2012)
In what way the Fault Handlers and the Interrupt handlers are different?
What are the different versions of unix?
What is unix directory structure?
Is a directory unix?