02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5<br />

Shell<br />

Table 5-15<br />

Shell Line-Editing Commands<br />

CTRL+S and<br />

CTRL+Q<br />

CTRL+W<br />

Suspend output, and resume output.<br />

Display HTML reference page for a routine.<br />

Movement and Search Commands<br />

nG Go to command number n. *<br />

5<br />

/s or ?s Search for string s backward in history, or forward.<br />

n<br />

nk or n-<br />

nj or n+<br />

nh<br />

nl or<br />

SPACE<br />

Repeat last search.<br />

Get nth previous shell command.*<br />

Get nth next shell command.*<br />

Go left n characters (also CTRL+H).*<br />

Go right n characters.*<br />

nw or nW Go n words forward, or n large words. * †<br />

ne or nE Go to end of the nth next word, or nth next large word. *†<br />

nb or nB<br />

Go back n words, or n large words.*†<br />

$ Go to end of line.<br />

0 or ^ Go to beginning of line, or first nonblank character.<br />

fc or Fc<br />

Find character c, searching forward, or backward.<br />

Insert and Change Commands<br />

a or A ...ESC Append, or append at end of line (ESC ends input).<br />

i or I ...ESC Insert, or insert at beginning of line (ESC ends input).<br />

ns ...ESC Change n characters (ESC ends input).*<br />

nc SPACE ...ESC Change n characters (ESC ends input).*<br />

cw ...ESC Change word (ESC ends input).<br />

cc or S ...ESC Change entire line (ESC ends input).<br />

c$ or C ...ESC Change from cursor to end of line (ESC ends input).<br />

195

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!