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
Why unix terminals are called dummy terminals?
Explain links and symbolic links.
How to change the directory in unix?
Explain how do you create special files like named pipes and device files?
What is a superuser?
Explain what are links and symbolic links in unix file system?
What do you understand by unix shell?
What is a filter in unix?
Is it possible to see information about a process while it is being executed?
Is unix a network operating system?
How do I show hidden files in unix?
What is typeset in unix?
What is a shell?
What is unix and its features?
What is unix and shell scripting?