[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Commands for getting to root directory



>Just getting started with a RAQ4.  Have a secure telnet installed on my home
>computer. I want to see what directories are on my server.  Never used
>telnet before.  Please help.
>
>Thank you,
>Tom Vickers

Then you probably shouldn't be mucking around your server on the command line
until you get a grasp of linux navigation commands.

You should also consider installing SSH and disabling telnet and using a secure
SSH client like: 

SecureCRT: http://www.vandyke.com
or Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

If you just want to see your directories you can do it a lot safer with FTP.
Changing anything via the command line will most likely void your Cobalt software
warranty. 

But if you must here's the minimum you need to know:

When you first log in as admin you will probably be here:

/home/sites/home/users/admin/

You can always tell where you are by typing 'pwd' (without quotes) then press the enter key.

To go up one directory type: cd ../
To go up two directories type: cd ../../
and so on.

To change to the absolute root directory type: cd /
>From there to go back to the sites directory you would type: cd /home/sites

To see or list the files type: ls
To see all files including hidden ones, directories, permissions, group, owner, size and modification times type:

ls -l

For further info there is a slew of Linux Command pages found through Google:

http://jgo.local.net/LinuxGuide/linux-commands.html
http://farside.ph.utexas.edu/teaching/329/lectures/node13.html
http://www.er.uqam.ca/nobel/r10735/unixcomm.html
http://www.hawken.edu/help/linux.html

Search for "Linux Commands" at Google for the other 687,000 pages. 

Tony