Как в: $ echo -e "one two\b\b\b\b three" # Will echo "one three" fg restores it.Ĭtrl + W Delete the word before the cursorĬtrl + T Swap the last two characters before the cursorĮsc + T Swap the last two words before the cursorĪlt + F Move cursor forward one word on the current lineĪlt + B Move cursor backward one word on the current line If you are at the end of the line, clears the entire line.Ĭtrl + R Let’s you search through previously used commandsĬtrl + Z Puts whatever you are running into a suspended background process.
MAC END OF LINE CHARACTER MAC OS X
Терминал Mac OS X - BASH, вот несколько быстрых клавиш BASH: Ctrl + A Go to the beginning of the line you are currently typing onĬtrl + E Go to the end of the line you are currently typing onĬtrl + L Clears the Screen, similar to the clear commandĬtrl + U Clears the line before the cursor position.