Welcome to WebmasterWorld Guest from 54.227.231.144

Forum Moderators: bakedjake

Message Too Old, No Replies

Trouble with an SSH task

   
9:40 pm on Sep 22, 2003 (gmt 0)

10+ Year Member



Hello everyone,

Can someone please help, I am trying to create a new file (text) using SSH on Linux. What command should I use for this?

12:21 am on Sep 23, 2003 (gmt 0)

10+ Year Member



cd /home/user/where/I/want/
touch filename
vi filename
12:23 am on Sep 23, 2003 (gmt 0)

WebmasterWorld Senior Member jeremy_goodrich is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You can also type at the command prompt:

pico

then 'pico' screen comes up.

Write what you'd like.

Control+X to exit.

Say "Y" to "saving the file".

Pick desired file name.

Hit enter.

Done ;)

12:27 am on Sep 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi akande, do you have permission to write files to that directory?
1:04 am on Sep 23, 2003 (gmt 0)

10+ Year Member



Yes I do sun818. I will try the suggested commands. Thanks allot and I will reply once I am succesfull
1:22 am on Sep 23, 2003 (gmt 0)

10+ Year Member



I got it, the pico command worked great. Thank you everyone for the help.