9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I need help.
I need to build command for line command editor vi. I want to take the whole string and assemble it in a regular expression. He then folded into another shape.
Can anyone help me? (4 Replies)
Discussion started by: Pabloss
4 Replies
2. UNIX for Beginners Questions & Answers
Hi Guru's,
I'm new at Unix. I am tasked to monitor the filesystem utilization on OS level (Unix) and DB (Sybase) for multiple systems. I am thinking to use vi editor and make a file, execute that file and all the file systems I need to monitor will be be shown.
My script inside vi goes in... (8 Replies)
Discussion started by: Xworks
8 Replies
3. Shell Programming and Scripting
I've this command in a script which edits the file ...
bash$ cat temp_file.txt
THREAD #2 2 Running
bash$ (echo "s/THREAD #2/d"; echo 'wq') | ex -s temp_file.txt
bash$ cat temp_file.txt
THREAD #2 2 Running
If i've more than 1 line it easily deletes the line, but if it is the last line... (3 Replies)
Discussion started by: prash184u
3 Replies
4. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
5. UNIX for Advanced & Expert Users
I am runing MTA that I made to receive mail.
Sometimes sending MTA send delayed 'QUIT' command.
In this case, after I send '250 OK' response for data, I must wait 'QUIT' command even a few minutes.
Thanks in advance.
Following is the log... (2 Replies)
Discussion started by: hcliff
2 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
Here is an example, I would wan to search for all string consists of IMP but not IMP-00015. Values other than 00015 is fine, is there anyone knows how to do that?
Thanks. (2 Replies)
Discussion started by: *Jess*
2 Replies
7. UNIX for Dummies Questions & Answers
Here is my problem,
I manage a SunOs 5.8 Server, vi is the default command line
editor, I have a line on each users .kshrc profile as follows:
export EDITOR=/bin/vi
I want to use vim as the command line editor, the below line
doesn't work
export EDITOR=/bin/vim
Thank you (1 Reply)
Discussion started by: tony3101
1 Replies
8. UNIX for Dummies Questions & Answers
I want to copy lines say from 2-5 to line after 20 in vi editor. Can I achieve this in a single command in vi editor.
Thanks. (2 Replies)
Discussion started by: tselvanin
2 Replies
9. UNIX for Dummies Questions & Answers
:1,10 s/yes/no/g
this ex command will substitute yes with no everytime it is found within the first 10 lines of the file.
:s/yes/no/g
this ex command will substitute yes with no everytime it is found for the line where the cursor is on
my question is how could this substitution be... (4 Replies)
Discussion started by: theDirtiest
4 Replies