LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-25-2009, 03:21 AM   #16
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36

tree -d
 
Old 09-25-2009, 08:14 AM   #17
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 805

Rep: Reputation: 186Reputation: 186
In DOS, tree /f lists the tree and files.

Here,
`find / -name "*" -print` lists all files and includes the path.
`find / -name "*" -type d -print` lists only directories and includes the path.

Even simpler,
`find . -print` list all files and includes the path.
`find . -type d -print` lists only directories and includes the path.

This should do since the OP only wanted to list the directory tree.

End
 
Old 09-25-2009, 08:21 AM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
ls -dR

for dirs only
 
Old 09-28-2009, 05:12 AM   #19
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 537

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by quanta View Post
http://www.rpmfind.net/linux/rpm2htm...&system=&arch=

Another way:
Code:
up2date install tree
Thanks for the link.

But what I need is the package "tree" for RHEL 4.6
 
Old 09-28-2009, 01:24 PM   #20
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,036

Rep: Reputation: 96
There does not appear to be an RPM for your specific installation.

If you are feeling up to it, you can download the latest source from here: http://mama.indstate.edu/users/ice/tree/

and compile it for your system.
 
Old 09-28-2009, 07:28 PM   #21
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Given RHEL 4.x, use of the up2date cmd is correct. This RH KB article will show you the needed cmds; worth bookmarking.
http://kbase.redhat.com/faq/docs/DOC-2531
 
  


Reply


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
wxPython: sortable tree list control? BrianK Programming 1 07-17-2008 05:25 AM
Copying a single file into each directory of a directory tree mlapl1 Linux - Newbie 2 06-27-2007 11:18 PM
Utility Needed - list folder tree and files in text file Optiker Linux - Software 21 11-17-2006 03:46 PM
permissions for directory tree adamwenner Linux - Security 3 10-23-2004 08:39 AM
Directory Tree Question GreatMilenko Linux - Security 3 06-02-2002 02:48 PM


All times are GMT -5. The time now is 12:58 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration