Difference between revisions of "Linux Tips"

From LPTMS Wiki
Jump to: navigation, search
m (Miscellaneous)
Line 6: Line 6:
  
 
== Miscellaneous ==
 
== Miscellaneous ==
 +
 +
=== Moving on a line (emacs, but also command line) ===
 +
 +
* go towards next(previous) word
 +
Esc-f, Esc-b
 +
* go to the end(beginning) of a line
 +
Ctrl-e, Ctrl-a
 +
* Cut text towards end of line
 +
Ctrl-k
 +
* Kills next(previous) word
 +
Esc-d, Esc-Backspace
  
 
===Handling batch jobs===
 
===Handling batch jobs===

Revision as of 16:11, 23 November 2011

Related pages

Miscellaneous

Moving on a line (emacs, but also command line)

  • go towards next(previous) word
Esc-f, Esc-b
  • go to the end(beginning) of a line
Ctrl-e, Ctrl-a 
  • Cut text towards end of line
Ctrl-k
  • Kills next(previous) word
Esc-d, Esc-Backspace

Handling batch jobs

  • if you want to send a job on a computer and logout without killing the job:
:> nohup ./job

The coma to point conversion in French environment

if you are working with a configuration of Linux which has not the dot "." as a standard format for floating points data (for instance the coma "," in French), you can add the following two lines in your .bashrc file:

LC_NUMERIC=en_US
export LC_NUMERIC

this will make the job without too many side effects.