Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is c shell in unix?

877


What are drawbacks of ssh v2?

983


Write a shell script that requests the user's age and then echoes it, along with some suitable comment.

1427


What are the requirements for a swapper to work?

1050


What are the types of unix?

922


What is $# in unix?

965


What does unix like mean?

946


How to remove files in unix?

1005


What are the phases of swapping a page from the memory?

959


What are the four components of the unix file system?

917


How does the kernel differentiate device files and ordinary files?

1029


What is the ‘nohup’ in unix?

925


Is unix is a programming language?

978


What is unix for?

916


What is the file in unix?

918