homepage Welcome to WebmasterWorld Guest from 54.237.99.131
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Trouble with an SSH task
akande

10+ Year Member



 
Msg#: 783 posted 9:40 pm on Sep 22, 2003 (gmt 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?

 

Asandir

10+ Year Member



 
Msg#: 783 posted 12:21 am on Sep 23, 2003 (gmt 0)

cd /home/user/where/I/want/
touch filename
vi filename

jeremy goodrich

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



 
Msg#: 783 posted 12:23 am on Sep 23, 2003 (gmt 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 ;)

sun818

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 783 posted 12:27 am on Sep 23, 2003 (gmt 0)

Hi akande, do you have permission to write files to that directory?

akande

10+ Year Member



 
Msg#: 783 posted 1:04 am on Sep 23, 2003 (gmt 0)

Yes I do sun818. I will try the suggested commands. Thanks allot and I will reply once I am succesfull

akande

10+ Year Member



 
Msg#: 783 posted 1:22 am on Sep 23, 2003 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved