Quickly get back
$ cd -
Ctrl-A
Go to the beginning of the line
Ctrl-E
Go to the end of the line
Alt-B (or ESC, left arrow)
Jump back one word using a non-alphanumeric character as delimiter.
Alt-F (or ESC, right arrow)
Jump forward one word using a non-alphanumeric character as delimiter.
Ctrl-R
History search
Ctrl-W
Cut one word backwards using white space as delimiter.
Ctrl-K
Cut everything forward to end of line.
Ctrl-U
Cut everything backwards to beginning of line.
Alt-T
Transpose the word at cursor with the one before cursor.
Ctrl-_
Undo the last command.
Alt-R
Revert all changes to current line.
Ctrl-L
Clear screen while keeping whatever is already typed in the command line intact.
taip pat labai patogu rashyti funkcijas ir aliasus .bashrc faile:
PVZ_vienas:
function outputas () {
glite-wms-job-output -i $1
}
PVZ_du:
alias goscala='cd ~/j6_scala'
2011 m. spalio 21 d., penktadienis
Užsisakykite:
Pranešimai (Atom)