Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm taking a OS class and we're going over commands from DOS and their equals in Linux but I cannot for the life of me find a command that shows a listing of directories like the "tree" command does in DOS. I remember doing it and I cannot find it. And the ls -R command is not what I'm talking about in case anyone was thinking that.
If anyone could tell me I'd appreciate it, I've been strugling with this forever, the final is over and this is the only question I have left before I'm out of this class and gone untill next quarter LOL.
Hey, Commodore Basic rocks! I always loved it for the possibility to program right away instead of having a computer waiting for a floppy-disk to boot some random game like the Amiga-users back in school used to do...
Originally posted by spariggio82 If I'm not wrong the command is:
where -l stand for the sub level you want to see!!!
with that i got a command not found error, but with the find command above i got a list of all the directories and their subs. sadly it was also listing a few mounted partitions to my windows server and that got a bit long so i ctrl+c to stop the listing of directories.
Then add -xdev to the find command, to check the "local" point tree only, as stated in the manual page. If you don't have the tree command, just install it (I'd bet on a simple "apt-get install tree"), it isn't part of a base system, because overlapping functionality with the find swiss-army-knife tool.