LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-18-2002, 01:16 PM   #1
isaacais
LQ Newbie
 
Registered: Dec 2002
Location: Austin, TX
Posts: 3

Rep: Reputation: 0
looking up my root directory


How can I lookup the directory structure on my account?

 
Old 12-18-2002, 01:22 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well what are you trying to achieve? just see what directories exit in /home/user?

find /home/user -type d

is one of many many ways to achieve it.
 
Old 12-18-2002, 01:37 PM   #3
cipher_arg
Member
 
Registered: Oct 2002
Distribution: slackware 8.1
Posts: 62

Rep: Reputation: 15
if you feel lost on command line, you can run mc (midgniht commander)
is a nice application with suport for ftp links, managing authorizations etc...
you type "mc" from command line and you ll have a relativly similar windoz explorer
 
Old 12-19-2002, 06:35 AM   #4
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
use ls with switches: -a (show all, includin . files) -l (show description of file) -R (lists directories and files recursively) rrun something like this:
ls -R /home/<user>
this should list all the directories and subdirectories as well as ALL th files under /home/<use> were <user> is your username.
 
  


Reply



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
bash: su - changes directory to /root arpi Linux - Software 2 06-11-2004 08:19 PM
starting with a different root directory darthczyz Linux - Newbie 3 05-01-2004 05:34 PM
accidentally rm -fr in root (/) directory Under Fire Linux - Newbie 2 11-15-2003 10:03 PM
Can you only install on root directory? Eradicator Linux - Newbie 9 10-30-2003 10:16 AM
How do I access my Root Directory chaswp54 Linux - Security 2 10-20-2001 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:41 PM.

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
Open Source Consulting | Domain Registration