Difference between revisions of "Linux"

From HCL
Jump to: navigation, search
(Utilities)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== Environment ==
 +
* '''.*rc''' - for non-login * shell
 +
* '''.*profile''' - for login * shell, uses the rc settings
 +
 
== 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