Find the answer to your Linux question:
Results 1 to 4 of 4
Hi i wanted to know why doesnt the contents of the Root directoy show up with the ls command . Example [root@localhost /]# cd root [root@localhost ~]# ls anaconda-ks.cfg [root@localhost ...
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    67

    Understanding the Root directory in Root Folder

    Hi i wanted to know why doesnt the contents of the Root directoy show up with the ls command . Example

    [root@localhost /]# cd root
    [root@localhost ~]# ls
    anaconda-ks.cfg
    [root@localhost ~]# cd .wine
    [root@localhost .wine]#

    Why didnt ls show .wine as a folder ?? Am i missing something.. bbeing a newbie i am just curious.. Any information would be helpful

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    2,941
    if it starts with a . then it's hidden, try ls -a

  3. #3
    Just Joined!
    Join Date
    Oct 2011
    Posts
    67
    Thanks for the great answer

  4. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    2,941
    no problem ... check out the man page for commands you want info on ... man ls will show you options available

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...