The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
URGENT: Script/Function needed to read text property files in block wise ysreenivas Shell Programming and Scripting 4 03-04-2008 02:20 PM
editor needed? shamrocks UNIX for Dummies Questions & Answers 1 01-24-2008 09:47 PM
urgent answer these please uni_ajay_r UNIX for Dummies Questions & Answers 1 05-15-2006 05:01 AM
urgent- please answer these set of questions uni_ajay_r UNIX for Dummies Questions & Answers 6 05-14-2006 06:35 AM
3600 tcp/udp, trap-daemon, text relay-answer cassj UNIX for Advanced & Expert Users 1 09-01-2004 06:41 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-21-2004
Registered User
 

Join Date: May 2004
Location: Romania
Posts: 2
Urgent answer needed, please: help with a text editor

I'm sorry if this has been posted before, but I'm in a big hurry and I need a pretty quick answer: I have to make a project for school which consists of many BASH scripts. At school we have Sun Sparcs. During the laboratory hours I used to open the text editor (in the graphics interface), edit the script then run it from terminal. But now I must connect from home to the server and do everything from the command line. I don't know anything about text mode text editors and I don't have the time to read through their manuals. I just need a quick how-to write something in a text editor and how to save it and exit the text editor, so then I can run that script.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-21-2004
Registered User
 

Join Date: Oct 2002
Posts: 670
I'm not sure if this qualifies as a homework question- i don't think it does so I'll post a reply.

Read the first few paragraphs of this vi tutorial and you will have the simple commands you need.

http://www.eng.hawaii.edu/Tutor/vi.html
Reply With Quote
  #3 (permalink)  
Old 05-21-2004
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
You may also try pico or nano if they're installed. They are very basic (and far inferior to my favourite vi), but they are simple to use, and if you're in a rush should get the work done. Most newer GNU/Linux systems (you're using bash, so I assume Linux here....) will have these editors.

Cheers
ZB
http://www.zazzybob.com
Reply With Quote
  #4 (permalink)  
Old 05-22-2004
Registered User
 

Join Date: Jan 2004
Posts: 14
I strongly suggest you to learn the VI editor.
VI it's a "must know" for all Unix users.
It works on all Unix and Linux vendors.
Have a look at this link for a list of VI commands:

http://www.chem.brown.edu/instructions/vi.html

The documentation is also available by typing
man vi
at the shell prompt
Reply With Quote
  #5 (permalink)  
Old 05-22-2004
Registered User
 

Join Date: May 2004
Location: Romania
Posts: 2
Thanks guys. I found PICO to be the simplest of all. I'll learn Vi if I'll continue to use UNIX, but for now that's just what I need. I'm running Solaris by the way.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0