Koozali.org: home of the SME Server

looking for the directories at command line

Kip Woodworth

looking for the directories at command line
« 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

Dan Brown

Re: looking for the directories at command line
« Reply #1 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?

Scott Smith

Re: looking for the directories at command line
« Reply #2 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

Kip Woodworth

Re: looking for the directories at command line
« Reply #3 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

Kip Woodworth

Re: looking for the directories at command line
« Reply #4 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