Urgent answer needed, please: help with a text editor


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Urgent answer needed, please: help with a text editor
# 1  
Old 05-21-2004
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.
# 2  
Old 05-21-2004
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
# 3  
Old 05-21-2004
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
# 4  
Old 05-22-2004
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
# 5  
Old 05-22-2004
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need answer for these LINUX questions URGENT!!

I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions. Appreciate your time thank you, :) 1. Make sure there is no filename1.txt in current directory first. Now, enter vi with "vi filename1.txt" command. vi... (4 Replies)
Discussion started by: linux17
4 Replies

2. UNIX for Dummies Questions & Answers

Need answer for these LINUX questions URGENT!!

I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions. Appreciate your time thank you, :) If you look at the permissions associated with a symbolic link, it has universal access. Does this lead to security... (0 Replies)
Discussion started by: linux17
0 Replies

3. Shell Programming and Scripting

Urgent Help Needed.

Hi, Below is my issue which I desperately need and I want a shell script which can do this job. I need this script as I m planning to put this for a system health check. Please assist me. 1. There are 10 log files in a particular location. 2. open each log file. Goto to the end of the... (1 Reply)
Discussion started by: kashriram
1 Replies

4. Shell Programming and Scripting

URGENT: Script/Function needed to read text property files in block wise

Hi, Iam in a need for a script/function in KSH where I want to read a text file (property file) in block by block. Here is the example: Heading Name Descripton Block Block1 Value1 Description Property Name Value Property Name Value Property Name Value Property Name Value Property Name... (7 Replies)
Discussion started by: ysreenivas
7 Replies

5. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

6. UNIX for Dummies Questions & Answers

Urgent help needed to delete some text without opening the file in unix

Hi To delete some text in 2 files in line1 ( not complete line) in unix without opening the files. For example: source file is like this <?xml version="1.0"... (5 Replies)
Discussion started by: pyaranoid
5 Replies

7. Windows & DOS: Issues & Discussions

Urgent XP help needed Please

Hi, Please accept my apologies if I have not explained anything clearly enough but i am a little old on new lingo!!! I am running XP from home and last night the following happened. After being logged on for pretty much the full day, I had what seemed like a pop up come up. Although most pop... (3 Replies)
Discussion started by: nike1601
3 Replies

8. UNIX for Dummies Questions & Answers

editor needed?

Hi, I need to cut/copy/paste lines from one file to another in Uxix. what is the best way to do this? Should an editor be used, or can you use a command? Regards Russ (1 Reply)
Discussion started by: shamrocks
1 Replies

9. UNIX for Dummies Questions & Answers

urgent answer these please

Hi, Please explain what does '$*' mean. what does the command cd /~abc do, especially what does '~' mean? cheers. (1 Reply)
Discussion started by: uni_ajay_r
1 Replies

10. UNIX for Dummies Questions & Answers

urgent- please answer these set of questions

Hi, I have a few questions to be answered.Please help me out in this.Its urgent. 1) what does ' $* ' mean, what does it do ? 2) Command to change UNIX Password. 3) What is Daemon processes ? 4) How do u execute a Unix command or process in the background ? 5) What is nohup ? 6) Difference... (6 Replies)
Discussion started by: uni_ajay_r
6 Replies
Login or Register to Ask a Question