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 is a unix shell?
What is alias mechanism?
What Happens when you execute a program?
Is unix free to use?
Is unix an operating system?
Does mac use unix?
Was unix the first operating system?
What is meant by the term nohup?
Why unix terminals are called dummy terminals?
What is utility unix?
How do you start and stop services in unix without using admin console?
How do you change directories in unix?
How do I find a pattern in unix?
Is unix cli or gui?
How does unix pipe work?