Show hidden directories in VT100?

Zathu

macrumors regular
Original poster
Nov 16, 2006
120
0
Maryland
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?
 

pilotError

macrumors 68020
Apr 12, 2006
2,238
4
Long Island
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...
:)
 
Comment

Luis

macrumors 65816
Jul 19, 2006
1,228
0
Costa Rica
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...
:)
Nice to know about ls -a, simplified.
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.