Difference between revisions of "Linux"

From HCL
Jump to: navigation, search
(Utilities)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* '''.*rc''' - for non-login * shell
 
* '''.*rc''' - for non-login * shell
 
* '''.*profile''' - for login * shell, uses the rc settings
 
* '''.*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
 
</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.
 +
* '''cg, vg''' (Code Grep and Vi Grepped) - tools for finding and modifying on keywords
 +
 +
== Tips and Tricks ==
 +
* [[SSH|How to connect via SSH]]
 +
* Use <code>update-alternatives --config NAME</code> to switch between different software implementations. For example, <code>update-alternatives --config java</code> allows you to switch between Sun, OpenJDK and GNU java

Latest revision as of 16:32, 13 March 2012

Environment

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

Utilities

  • mc (midnight commander) - a file manager with a built-in text editor. To copy text, hold the shift button.
  • cg, vg (Code Grep and Vi Grepped) - tools for finding and modifying on keywords

Tips and Tricks

  • How to connect via SSH
  • Use update-alternatives --config NAME to switch between different software implementations. For example, update-alternatives --config java allows you to switch between Sun, OpenJDK and GNU java