LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-27-2009, 09:04 PM   #1
j0hnsmith
LQ Newbie
 
Registered: Apr 2009
Posts: 23

Rep: Reputation: 0
ls -R - without hidden folders


ls -R recursively lists subdirectories encountered, is there a way to prevent hidden folders showing in the output?
 
Old 09-27-2009, 09:10 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,301

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
For me it, doesn't show hidden dirs using ls -R . Have you tried it? Have you checked for an alias like alias ls=ls -a ?
 
Old 09-27-2009, 09:46 PM   #3
j0hnsmith
LQ Newbie
 
Registered: Apr 2009
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
For me it, doesn't show hidden dirs using ls -R . Have you tried it? Have you checked for an alias like alias ls=ls -a ?
Doesn't seem to be doing it now and I don't have an alias. Thanks
 
  


Reply

Tags
ls


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cleaning Hidden Folders Raymond C. Glassford Mandriva 3 07-01-2008 12:10 AM
create tarball with hidden files/folders phsythax Linux - Software 2 06-27-2008 09:01 AM
Excluding Hidden Files / Folders in Tarball carlosinfl Linux - General 2 05-22-2008 10:23 AM
hidden folders tenmiles Linux - General 5 11-23-2004 02:37 AM
Hidden folders ... how can I view them? orange400 Linux - General 4 03-23-2003 11:24 PM


All times are GMT -5. The time now is 10:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration