![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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.
|
| Forum Sponsor | ||
|
|
|
|||
|
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 |
|
||||
|
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 |
|
|||
|
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 |
| Thread Tools | |
| Display Modes | |
|
|