Difference between revisions of "Linux"

From HCL
Jump to: navigation, search
Line 8: Line 8:
 
== Tips and Tricks ==
 
== Tips and Tricks ==
 
* [[SSH|How to connect via SSH]]
 
* [[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

Revision as of 12:33, 21 June 2010

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.

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