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
How to create files in unix?
What is the core of unix operating system?
What are the benefits of running processes in the background?
Is mac a unix?
What is inode in unix operating system?
What are a shell in unix and its types?
What is unix structure?
Differentiate between absolute and related path?
What is the full form of unix operating system?
What is af_unix?
How do I run a shell script in unix?
What are the entities that are swapped out of the main memory while swapping the process out of the main memory?
Why is it that it is not advisable to use root as the default login?
How to change the directory in unix?
What is unix kernel explain it?