Forum Moderators: phranque

Message Too Old, No Replies

Dabbling With Telnet/SSH

Tenet, ssh

         

erika1959

7:25 am on Dec 8, 2002 (gmt 0)

10+ Year Member



I'm an absolute newbie to telnet/SSH, where the term "intuitive interface" doesn't seem to have surfaced yet.

Having logged onto my site (just about, since my software isn't very happy with the connection, but has grudingly allowed me a provisional call), I'm presented with;

server1:/usr/home/mysiteid$

I want to get onto a path that begins

www/htdocs/mydomain/....

but everytime I attempt to go there, I get

"bash: www/htdocs/mydomain/.... no such file or directory exists"

I read somewhere on the forum that you need to use cd/...but this didn't cut it I'm afraid.

I'm trying with both PuTTY and SecureCRT.

Would really appreciate some help here. I'm just looking for a simple way in to do a couple of lines work in connection with installing a new script. I don't expect to be using telnet in a heavy way for a while yet, so I don't want to get involved in learning bigtime stuff, I just need the plain-english-for-newbies version here guys!

Lisa

8:22 am on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try:

cd /usr/local/www

This should put you in the www folder. Most companies link /www to this directory but if your host doesn't then use the full path.

msr986

8:35 am on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Unfortunately, you will have to learn a little bit about unix or linux in order to do what you need to. There is no plain-english on unix.

Everything is done by command line entry, including navigation. You can change directories using the 'cd' command (without the slash).

If you do a Google search for 'unix commands', you will find a lot of helpful pages that will guide you through the basics.

littleman

8:39 am on Dec 8, 2002 (gmt 0)



to go somewhere:
cd /path/to/go
don't forget the space.
cd[_space_]/path/to/go

littleman

8:41 am on Dec 8, 2002 (gmt 0)



read here:
[frankenlinux.com...]

The Contractor

12:33 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



After you login as user then password and get to the prompt:

cd /home/user/yoursite-www/htdocs

[there is a space between cd and /]

I use Putty daily and I keep all long directory path commands in a text file and then copy and paste to the prompt using the right mouse button to paste. Then you simply hit the enter key and you will change to that path ;)