Bash

Mé blogy týkající se využití shellu obecně najdete mezi štítky - Bash.

Výběr týkající se přímo Bashe:
Bash - aliasy s automatickým doplňováním argumentů klávesou Tab
Přesměrování a roury v Bashi - není všechno tak jasné na první pohled
Bash - synchronizace historie mezi terminály
sudo alias.. proč to ten alias najednou nevidí?

Další zajímavosti z příkazového řádku (vše pak pod štítkem příkazový řádek) :
Vyhledávání pomocí příkazu locate a implementace v Unity
Jak si zkopírovat flash videa z cache dnes
Sbohem Guake..
Fatrace, aneb sledování dění v souborovém systému podruhé
Inotify a vlastní akce založené na událostech ve filesystému
Sedy, lehy, regulární výrazy 2 - restart
Další hrátky s okny
Stažení webu pro offline použití pomocí wget
Jak zjistit, které procesy zatěžují síť - NetHogs
Záchrana fotografií z nečitelné paměťové karty
Vlastní skript spouštěný při suspend / resume
xautolock - spouští programy, když se uživatel fláká



Klávesové zkratky Bash terminálu (některé mohou kolidovat se zkratkami použitého okenního emulátoru terminálu):

Emacs keysActionScopeDirection/Place
Moving aroundCtrl-bMove the cursorone character⇦ to the left
Ctrl-fMove the cursorone character⇨ to the right
Alt-bMove the cursorone word⇦ to the left
Alt-fMove the cursorone word⇨ to the right
Ctrl-aMove the cursor⇤ to the start of the line
Ctrl-eMove the cursor⇥ to the end of the line
Ctrl-x-xMove the cursor⇤⇥ to the start, and to the end again
Cut, copy
and paste
BackspaceDeletethe character⇦ to the left of the cursor
DEL
Ctrl-d
Deletethe characterunderneath the cursor
Ctrl-uDeleteeverything⇤ from the cursor back to the line start
Ctrl-kDeleteeverything⇥ from the cursor to the end of the line
Alt-dDeleteword⇨ untill before the next word boundary
Ctrl-wDeleteword⇦ untill after the previous word boundary
Ctrl-yYank/Pasteprev. killed textat the cursor position
Alt-yYank/Pasteprev. prev. killed textat the cursor position
HistoryCtrl-pMove in historyone line⇧ before this line
Ctrl-nMove in historyone line⇩ after this line
Alt->Move in historyall the lines⇩ to the line currently being entered
Ctrl-rIncrementally search the line history⇧ backwardly
Ctrl-sIncrementally search the line history⇩ forwardly
Ctrl-JEnd an incremental search
Ctrl-GAbort an incremental search and restore the original line
Alt-Ctrl-yYank/Pastearg. 1 of prev. cmndat the cursor position
Alt-.
Alt-_
Yank/Pastelast arg of prev. cmndat the cursor position
UndoCtrl-_
Ctrl-x
Ctrl-u
Undo the last editing command; you can undo all the way back to an empty line
Alt-rUndo all changes made to this line
Ctrl-lClear the screen, reprinting the current line at the top
CompletionTABAuto-complete a name
Alt-/Auto-complete a name (without smart completion)
Alt-?List the possible completions of the preceeding text
Alt-*Insert all possible completions of the preceeding text
TransposeCtrl-tTranspose/dragchar. before the cursor↷ over the character at the cursor
Alt-tTranspose/dragword before the cursor↷ over the word at/after the cursor

Zdroj: http://www.bigsmoke.us/readline/shortcuts

Žádné komentáře:

Okomentovat

Zkuste prosím při komentováni používat místo volby Anonymní volbu Název/adresa URL, kde vyplníte nějakou přezdívku, adresu zadávat nemusíte. Vědět, které příspěvky jsou od jednoho člověka, je fajn. Díky.

Pokud by se vám náhodou odeslaný komentář na stránce nezobrazil, vytáhnu ho z koše hned jak si toho všimnu. I Google spam filter se občas sekne.