An easy guide to navigate Terminal for Beginners-Intermediate users
in the words of Gandhi; Donald Duck and Joseph Stalin [alledgedly]
"...if navigation is smooth you will have much more fun"
Many of you will know this; clearly this is for the ones who do not yet
If you have additional useful adjuncts please feel free to comment...
ctrl+a to the start of writing
ctrl+e to the end of writing
alt+b goes back one word at a time
alt+f moves forward one word at a time.
ctrl+b goes back one letter at a time
ctrl+f goes forward one letter at a time
ctrl+u removes command left of cursor
ctrl+k removes command right of cursor
ctrl+w deletes the word before the cursor.
alt+c capitalizes letter where cursor is and moves to end of word
ctrl+l clears the terminal output
when a page is too busy and you want a clean slate ctrl+l followed with ctrl+u clears everything
Shift + Ctrl + C = copy the highlighted command to the clipboard.
Shift + Ctrl + V (or Shift + Insert) = pastes the contents of the clipboard.
"history" shows you your most recent commands
say you want to use 1951 command enter!1951
very handy seefor full infoman history
incremental history searching
in terminal enter:
Code:gksudo gedit ~/.inputrc
then copy paste and save
Code:"\e[A": history-search-backward "\e[B": history-search-forward "\e[C": forward-char "\e[D": backward-char
FROM now on [and many agree this is the most useful terminal tool] save you a lot of writing/memorizing...
all you need to do to find a previous command is to enter say the first 2 or 3 letters and upward arrow will take you there quickly
say i want:
all i need to do is enterCode:for f in *.mid ; do timidity "$f"; doneand hit upward arrow command will soon appearCode:fo