Unix environment: Difference between revisions
(initial contents) |
(editor and shell initial contents) |
||
Line 3: | Line 3: | ||
==Editor== | ==Editor== | ||
The most important tool will most likely be your editor. It doesn't matter what you want to use, but whatever it is, learn it well. vi and emacs are the most common editors used in the unix environment. Your choice of editor will become critical when you use your shell command line in its editing mode. | The most important tool will most likely be your editor. It doesn't matter what you want to use, but whatever it is, learn it well. [http://en.wikipedia.org/wiki/Vi_(editor) vi] and [http://en.wikipedia.org/wiki/Emacs emacs] are the most common editors used in the unix environment. Your choice of editor will become critical when you use your shell command line in its editing mode. There are very good tutorials on the internet for your editor. There is a [[VI_quick_start|VI quick start]] command listing in genomewiki. See also: [http://en.wikipedia.org/wiki/Editor_war Editor War.] | ||
==Shell== | |||
There are two shells in common use on unix: [http://en.wikipedia.org/wiki/Bash_shell bash] and [http://en.wikipedia.org/wiki/Tcsh tcsh.] Next to your editor, your shell command line is going to be a critical element of your efficiency using unix. You will want the command line editing features turned on for your command line to recognize your favorite editor commands. Learn how to use your [http://en.wikipedia.org/wiki/GNU_bash#Keyboard_shortcuts command line editing] feature. Understand what stdout, stderr and stdin [http://en.wikipedia.org/wiki/Standard_streams are] and how to control their input and output in compound shell commands. There are very good [http://en.wikipedia.org/wiki/GNU_bash#External_links bash] and [http://en.wikipedia.org/wiki/Tcsh#External_links tcsh] tutorials on the internet. |
Revision as of 22:50, 29 April 2010
Working in the UNIX™ environment
Editor
The most important tool will most likely be your editor. It doesn't matter what you want to use, but whatever it is, learn it well. vi and emacs are the most common editors used in the unix environment. Your choice of editor will become critical when you use your shell command line in its editing mode. There are very good tutorials on the internet for your editor. There is a VI quick start command listing in genomewiki. See also: Editor War.
Shell
There are two shells in common use on unix: bash and tcsh. Next to your editor, your shell command line is going to be a critical element of your efficiency using unix. You will want the command line editing features turned on for your command line to recognize your favorite editor commands. Learn how to use your command line editing feature. Understand what stdout, stderr and stdin are and how to control their input and output in compound shell commands. There are very good bash and tcsh tutorials on the internet.