Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Kip Woodworth on September 06, 2001, 12:45:57 AM

Title: looking for the directories at command line
Post by: Kip Woodworth on September 06, 2001, 12:45:57 AM
Im trying to look at the directories at the command line through the shell

I have read where you need to telnet into the root user account to access the command line for the underlying operation system. But when I telnet in, I can't see any directories. I have used the command ls to list directories. but there are none to be listed. I tried looking at man pages, and that worked ok. I tried cd but that didnt work either. can anyone help. Thanks

Kip
Title: Re: looking for the directories at command line
Post by: Dan Brown on September 06, 2001, 12:52:12 AM
Well, if you telnet in as root, you'll initially be in /root.  What directories are you looking for?
Title: Re: looking for the directories at command line
Post by: Scott Smith on September 06, 2001, 12:52:58 AM
You are in the /root directory when you login. It contains no files or directories, so ls with no parameters will show you nothing. The cd command with no parameters will change to the home directory for the current user. You are logged in as root, and the home directory for root on an e-smith system is /root.

Try this:

cd  /

ls

Travel at your own risk from there :-)

Scott
Title: Re: looking for the directories at command line
Post by: Kip Woodworth on September 06, 2001, 12:57:00 AM
just the usual directories. Like etc home the all the config files. I want to be able to change the templates
 thanks

Kip
Title: Re: looking for the directories at command line
Post by: Kip Woodworth on September 06, 2001, 12:59:12 AM
Thats it!! Thanks. I will be carefull. I've  have a freebsd server for a year or so now and I know what not to mess with.

Again THanks,

Kip