Difference between revisions of "Linux"

From HCL
Jump to: navigation, search
(Utilities)
 
Line 5: Line 5:
 
== 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 ==
 
== 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
 
* 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 17: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