Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

naviagation of the file system

Original Message
Name: lordmanhamer
Date: March 22, 2007 at 06:43:52 Pacific
Subject: naviagation of the file system
OS: Win Xp Pro
CPU/Ram: AMD 3200/ 768
Comment:
ok im trying to make the transition from dos to lunix and im finding some of the bits the same and some of it confusing. the one thing im finding hard is in dos when you use the dir comand you can see all directorys and using the cd comand you can navigate round the whole disk. in unix however when you use the ls comand all i see is the home directory . i have an inclination that there is a bin directory and other directorys but i cant see them using ls. also i have found that i can access them using cd /bin. what i want to know is there a comand to see all the directorys or do i just have to know that there is a bin directory

all text needs typos. There there for the reader to find,to distract them from the total lack of content. google it! wasnt the answer to the question i asked so dont be dense and give me that reply!


Report Offensive Message For Removal


Response Number 1
Name: Vertabreaker
Date: March 26, 2007 at 06:18:15 Pacific
Subject: naviagation of the file system
Reply: (edit)
You're unable to see the /bin directory with ls because you're not actually in root when you log into your terminal. What you do is type the following:

cd /

That will put you in root and when you type ls now you should see bin, opt, usr, var, and so on.

Hope this helps.

Regards,
~Verta


Report Offensive Follow Up For Removal

Response Number 2
Name: Vertabreaker
Date: March 26, 2007 at 06:40:40 Pacific
Subject: naviagation of the file system
Reply: (edit)
Sorry, I forgot to mention this. In Unix when you use the cd(change directory command) there's two ways to use it.

It can be used to change to a directory relative to the directory you're currently in.

Example: you're currently in root(/) and you want to go to the bin directory.

You simply type: cd bin

This will move you from root into bin because bin is within(relative to) root.

The other way you can change directory is by changing to a directory that is absolute to your current directory.

Example: You're currently in /etc and want to change to bin, but bin is not in /etc.

You would type: cd /bin

This is why you're able to change to bin from when you log on to your terminal because no matter what directory you're currently in, you can jump right to bin by typing cd /bin instead of cd bin.


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: naviagation of the file system

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




how to setup call of duty to joytok

WindowsME / HotMail Problem

Corrupt memory

Convert fat32 to Ntfs

Best WinMo phone of 2008


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC