[olug] Unix Tip: STOP ASKING QUESTIONS

andrew olug at einer.org
Tue Mar 25 15:46:56 UTC 2003


Well, since this tip didn't really provide any examples of how to 
actually use any of these 'indispensible' commands, I figured that 
someone might find this useful.  Maybe someone else will post their most 
useful vim/sed/awk tricks.

My (current) favorite vim-ism:

ctrl-w v
splits window vertically
ctrl-w [l | h]
switches to the left or right pane

This is nice as it lets you open two files right next to each other so 
you can compare them or yank parts of one into the other.  It works in 
gvim as well, though I don't know if it works in standard vi (my guess 
is probably no). 

73

Unix Guru Universe wrote:

>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>			      UNIX GURU UNIVERSE 
>			         UNIX HOT TIP
>
>			Unix Tip 1909 - March 24, 2003
>
>		    http://www.ugu.com/sui/ugu/show?tip.today
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
>STOP ASKING QUESTIONS
>
>What's the best way to become a UNIX guru?
>Learn UNIX. 
>
>There are two great resources available to 
>the UNIX programmer that give general help 
>and often examples.  One is the "man" command.
>
>ex. man vi
>The other is the "-?" command line option.
>ex. sort -?
>
>These will tell you all you need to know 
>about most commands.
>
>I suggest that newbies look at the following 
>man pages:
>
>vi - probably the best text editor ever made
>sh/ksh/csh - my favorite flavor is ksh
>awk - fantastic!!
>sed - dull but indispensable
>
>Spend some time looking at the man pages.  
>At the end there is usually a list of related 
>commands, a great way to enhance your UNIX 
>vocabulary!
>
>
>This tip generously supported by: jcolman at bigfoot.com
>
>
>
>
>--------------------------------------------------------------------------
>To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe
>To Unsubscribe:  http://www.ugu.com/sui/ugu/show?tip.unsubscribe
>To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today
>
>==========================================================================
>DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
>NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX 
>GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU  ADVISES THAT 
>ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.
>
>Unix Guru Universe - www.ugu.com - tips at ugu.com - Copyright 1994-2001
>==========================================================================
>
>_______________________________________________
>OLUG mailing list
>OLUG at olug.org
>http://lists.olug.org/mailman/listinfo/olug
>  
>



More information about the OLUG mailing list