Advertisement


Advertisement

Thread Rating:
  • 15 Vote(s) - 3.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Command to List Only the Hidden Files in a Directory
Advertisement
#1
Sometimes you want to only see the hidden files in a directory, and this command makes it easy.

ls -a | egrep "^\."

You can then alias the command so you can easily re-use it anytime:

alias lsh='ls -a | egrep "^\."'

Reply
Thanks given by:
Advertisement
Advertisement




Possibly Related Threads…
Thread Author Replies Views Last Post
  General News: WhatsApp to stop working on these Android, iOS devices: Check full list nairrk 0 304 12-17-2020, 06:02 PM
Last Post: nairrk
  General News: Google Drive to delete trashed files after 30 days from October 13 nairrk 0 253 09-19-2020, 03:26 PM
Last Post: nairrk
  General News: Files by Google now has a Safe Folder for your private files nairrk 0 201 08-05-2020, 10:09 AM
Last Post: nairrk
  General News: New Telegram update lets you send up to 2GB files and set profile videos nairrk 0 201 07-28-2020, 07:36 AM
Last Post: nairrk
  General News: Google updates its Files Go app with a new Share tab, extracting ZIP files,.. nairrk 0 623 06-23-2018, 07:17 AM
Last Post: nairrk
  General News: WhatsApp will soon stop working on these devices, see if yours is on the list nairrk 0 455 06-19-2018, 12:54 PM
Last Post: nairrk
  General News: WhatsApp Groups to get better, gets list of feature updates for admins,.. nairrk 0 586 05-16-2018, 09:37 AM
Last Post: nairrk
  General News: Google Go, Files Go for Android users launched in India: Everything you need to know nairrk 0 705 12-05-2017, 06:50 PM
Last Post: nairrk
  General News: Google Files Go lets you free up space on your smartphone nairrk 0 698 11-08-2017, 07:46 AM
Last Post: nairrk
  General News: Android Oreo: List of devices supported and OS rollout plan nairrk 2 965 08-22-2017, 12:04 PM
Last Post: nairrk

Forum Jump:


Users browsing this thread: 1 Guest(s)
Advertisement