Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

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?
 
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...
:)
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.