Big Data and Hadoop Training @$80 or Rs. 6,000 only - valid till Oct 17th Apply Now!

How to show only hidden files in Terminal?

Ads
 

How to show only hidden files in Terminal?

Hi,

I want to list all the hidden files in a directory.

How to show only hidden files in Terminal?

View Answers

March 31, 2018 at 12:50 AM

Hi,

You can use following code:

ls -ld .?*

Thanks


March 31, 2018 at 12:50 AM

Hi,

Here is details:

 -l     use a long listing format

 -d, --directory
              list  directory entries instead of contents, and do not derefer‐
              ence symbolic links

.?* will only state hidden files

Thanks

Ads









Related Tutorials/Questions & Answers:
Show a hidden frame previously from another from
php show list of files
Advertisements
list files only - Java Beginners
how to store dynamic array in hidden field in javascript?
How to check a file is hidden or not in java
how to get the anchor field in hidden field tag
Hidden Program
how to show popup in javascript
how to show data in database ?
Java count files in a directory
Second tab should only show selected products from first tab
HOW TO SHOW TIME SERIES
how to get only checked data
How to list files in hadoop?
How you will Show unique records.
How to make a file read-only in java
how to show random image in ASP.net?
how to show required fields indicate as * in struts2
How to show database values into graph using jsp?
How to show database values into graph using jsp?
How to show the maximum and the minimum in array...
How to show the maximum and the minimum in array...
How to make a file read-only
How to delete files in Java?
How to check if a file is read-only in java
How to avoid Java Code in JSP-Files?
How To Write the FORM Tag Correctly for Uploading Files?
how to creating hbm files in hibernate using Myeclipse
How do I decompile Java class files?
How to upload files to server using JSP/Servlet?
how to download the uploaded folder files using jsp

Ads