: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)
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)
See topic.
I always have problems with the easy conversions.
bash-2.03$ df -k .
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/webtrend/webtrends2
364904448 205181344 158481976 57% /webtrends/production/wtm_wtx/datfiles
pretty... (4 Replies)
Hi,
I have been searching for a command that lists the total amount of memory in the HP-UX doc but haven't found it yet.
vmstat is not exactly what i want. Does the command exists on HP UX?
:confused: :confused: :confused: :confused: :confused: (4 Replies)
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)
Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some.
I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Hi Folks
I have opened a log file in Vi editor
vi abc.logPlease advise me how to finally quit from Vi editor, which command is there..!
Is it :q<Enter> (1 Reply)
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)
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)