Difference between revisions of "Linux"

From HCL
Jump to: navigation, search
Line 1: Line 1:
 +
== Environment ==
 +
* '''.*rc''' - for non-login * shell
 +
* '''.*profile''' - for login * shell, uses the rc settings
 +
 +
=== Recommmnded settings ===
 +
<source lang="bash">
 +
PATH=$HOME/bin:$PATH
 +
LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
 +
# GCC
 +
CPATH=$HOME/include:$CPATH
 +
LIBRARY_PATH=$HOME/lib:$LIBRARY_PATH
 +
</source>
 +
 
== Utilities ==
 
== Utilities ==
 
* '''mc''' (midnight commander) - a file manager with a built-in text editor. To copy text, hold the shift button.
 
* '''mc''' (midnight commander) - a file manager with a built-in text editor. To copy text, hold the shift button.

Revision as of 12:05, 11 December 2009

Environment

  • .*rc - for non-login * shell
  • .*profile - for login * shell, uses the rc settings

Recommmnded settings

PATH=$HOME/bin:$PATH
LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
# GCC
CPATH=$HOME/include:$CPATH
LIBRARY_PATH=$HOME/lib:$LIBRARY_PATH

Utilities

  • mc (midnight commander) - a file manager with a built-in text editor. To copy text, hold the shift button.