One motivating factor in using a terminal is the productivity gains... that is, once you can sweep the keyboard like an 80's metal guitarist. Getting a few basic keyboard shortcuts/commands down can drastically improve the usability of the terminal. Let's take a look at a few of my favorites.
(I'll be showing off Git Bash in this article, but these commands work in most terminals)
Move to the end of the input
ctrl + e
Move to the beginning of the input
ctrl + a
Move between each 'word'
ctrl + [arrow left/right]
Delete backwards a whole 'word'
ctrl + w
ctrl + u
Opening the file explorer at the current location can be super useful. The command varies based on operating system.
(Open file explorer at the current directory. Change '.' to be any location!)
Rerun the last command
Get the full history of commands
Rerun command from the History
These are shortcuts/commands I find myself going to daily that make the terminal a pleasure to deal with. Are there any I missed that you love? Let us know in the comments!
Photo by Josiah Weiss on Unsplash
In this article, we’re going to explore why young programming languages with modern features can’t be adopted quickly. Additionally, we’re going to take a look at one exceptional example that got specific parameters right to be both young, modern and mature, just ready for adoption at small and big scale.