06-29-2005
pico - for users, mcedit - for programmers, vi - for professonals
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
My question is: how to add /tmp/work at the end of line in vi editor.
my file looks like:
cp file1
cp file2
cp file3
****
I need to add " /tmp/work" at the end of each line.
I tried this
:%s/$/" /tmp/work"
and this
:%s/$/\ /tmp/work\/
but it does not work. (2 Replies)
Discussion started by: billy5
2 Replies
2. HP-UX
I'd like to find some editor for HP-UX, something like notepad, but not VI editor. Can someone have some ideas which one?
thx (6 Replies)
Discussion started by: diamond
6 Replies
3. UNIX for Advanced & Expert Users
Hi,
how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before.
for exemple if in my file i have
line 1
line 2
I want to have :
start line 1 end
start line 2 end (3 Replies)
Discussion started by: alain123456
3 Replies
4. UNIX Desktop Questions & Answers
We work on AIX 5L
We use vi as text editor (only scripts to create and modifiy).
What do you think of emacs ? Where can I find it ?
Do you know better text editor for scripts ?
Thank you for all answers. (1 Reply)
Discussion started by: annemar
1 Replies
5. HP-UX
I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work.
how can I enable them.
thanks (3 Replies)
Discussion started by: hkoolivand
3 Replies
6. UNIX for Dummies Questions & Answers
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
7. 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
8. Solaris
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
9. Shell Programming and Scripting
How can ` character be printed on vi editor ?
empl_id=`echo $line | awk ' { print $1; } '` (2 Replies)
Discussion started by: senem
2 Replies
10. Shell Programming and Scripting
Hello All,
Need one Help for one issue.
I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it.
It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies
LEARN ABOUT NETBSD
orders
ORDERS(7) BSD Miscellaneous Information Manual ORDERS(7)
NAME
orders -- orders of magnitude
DESCRIPTION
The following table lists common multiples of bytes.
Name Prefix Power of 2 Power of 10
Kilobyte kB 2^10 10^3
Megabyte MB 2^20 10^6
Gigabyte GB 2^30 10^9
Terabyte TB 2^40 10^12
Petabyte PB 2^50 10^15
Exabyte EB 2^60 10^18
Zettabyte ZB 2^70 10^21
Yottabyte YB 2^80 10^24
The following table lists common bit rates as a power of ten.
Name Prefix Bit per second Byte per second
Bit per second bit/s 1 0.125
Byte per second B/s 8 1
Kilobit per second kbit/s 10^3 125
Kilobyte per second kB/s 8 * 10^3 1000
Megabit per second Mbit/s 10^6 125000
Megabyte per second MB/s 8 * 10^6 1000000
Gigabit per second Gbit/s 10^9 125000000
Gigabyte per second GB/s 8 * 10^9 1000000000
Terabit per second Tbit/s 10^12 125000000000
Terabyte per second TB/s 8 * 10^12 1000000000000
The following table lists common orders of magnitude as a power of ten.
Name Order Prefix Symbol Decimal
Septillionth 10^-24 yocto y 0.000000000000000000000001
Sextillionth 10^-21 zepto z 0.000000000000000000001
Quintillionth 10^-18 atto a 0.000000000000000001
Quadrillionth 10^-15 femto f 0.000000000000001
Trillionth 10^-12 pico p 0.000000000001
Billionth 10^-9 nano n 0.000000001
Millionth 10^-6 micro mu 0.000001
Thousandth 10^-3 milli m 0.001
Hundredth 10^-2 centi c 0.01
Tenth 10^-1 deci d 0.1
One 10^0 - - 1
Ten 10^1 deca da 10
Hundred 10^2 hecto h 100
Thousand 10^3 kilo k 1000
Million 10^6 mega M 1000000
Billion 10^9 giga G 1000000000
Trillion 10^12 tera T 1000000000000
Quadrillion 10^15 peta P 1000000000000000
Quintillion 10^18 exa E 1000000000000000000
Sextillion 10^21 zetta Z 1000000000000000000000
Septillion 10^24 yotta Y 1000000000000000000000000
SEE ALSO
units(1), strsuftoll(3), number(6)
STANDARDS
There have been various attempts to standardize the set of binary prefixes. Organizations such as International Electrotechnical Commission
(IEC) have proposed new prefixes such as ``kibi'', ``mebi'', ``gibi'', and ``yobi'', but the adoption has been slow at best.
BSD
August 6, 2011 BSD