The linux shell (bash) has evolved in all the years from 1977 to a super useful and efficient command line. There are plenty of tricks you should know, because the effort goes nosedive. Here are some:
> Arrows
When pressing the up-and-down arrows, you go back in your command history. You will cycle between history commands, and the command will appear in the text field. You can press Enter or edit the commands before running them. The arrows left-and-right let you edit the commands, like a regular text editor.
> Ctrl-D
To exit the terminal quickly, do control-D and the window closes. Ctrl-D does the exact same thing as the command "exit".
> Ctrl-R
To search in the command history, press control-R and type the command you are searching for. Press enter to run the command.
> Ctrl-C
To stop a running command, press control-C. The command will stop immediately, but some more complicated commands won't stop when doing this. Ctrl-Z will freeze it, but not stop it.
Now you are ready to use the terminal safely! Never run commands you never heard of or found online, because some can be very dangerous. Enjoy exploring bash!
YOU ARE READING
Linux for dummies
Non-FictionThis book will explain you Linux step-by-step. You don't have to be a computer pro to undestand this book.
