Show hidden directories in VT100?

Discussion in 'Jailbreaks and iOS Hacks' started by Zathu, Nov 3, 2007.

  1. Zathu macrumors regular

    Zathu

    Joined:
    Nov 16, 2006
    Location:
    Maryland
    #1
    An ls in my root directory in VT100 shows on the Applications and Media directory. How can I get directories such as var, etc, and bin to display?
     
  2. Luis macrumors 65816

    Luis

    Joined:
    Jul 19, 2006
    Location:
    Costa Rica
  3. pilotError macrumors 68020

    pilotError

    Joined:
    Apr 12, 2006
    Location:
    Long Island
    #3
    When you start terminal, your in your home directory, usually

    /Users/<some username>

    You can type in

    pwd

    Which shows you your Present Working Directory (where you are on the disk)

    Then type in

    cd /

    which brings you to the root directory.

    When you do an ls there, you will see those directories.

    ls -a shows you any files that begin with a "." (period)

    Those are more or less hidden.

    ls -al shows all files in long format which gives you permissions, owners and file sizes.

    don't go touching things though...
    :)
     
  4. Luis macrumors 65816

    Luis

    Joined:
    Jul 19, 2006
    Location:
    Costa Rica
    #4
    Nice to know about ls -a, simplified.
     
  5. Zathu thread starter macrumors regular

    Zathu

    Joined:
    Nov 16, 2006
    Location:
    Maryland
    #5
    Oh! I feel stupid for assuming I was in the root dir. Thanks!
     

Share This Page