Welcome to WebmasterWorld Guest from 174.129.163.89

Forum Moderators: bakedjake

Message Too Old, No Replies

Trouble with an SSH task

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

Junior Member

10+ Year Member

joined:Mar 22, 2003
posts:64
votes: 0


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 Sept 23, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 8, 2002
posts:65
votes: 0


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

Senior Member

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

joined:Aug 4, 2000
posts:3468
votes: 0


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 Sept 23, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 16, 2001
posts:2007
votes: 0


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

Junior Member

10+ Year Member

joined:Mar 22, 2003
posts:64
votes: 0


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

Junior Member

10+ Year Member

joined:Mar 22, 2003
posts:64
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members