Further Reading
More Terminal Tricks
Use
↑and↓to navigate between your previous commands.Use
Ctrl + rto search for a previously issued command.Use
Ctrl + Ato navigate to the beginning of the line.Use
Ctrl + Eto navigate to the end of the line.Use
Alt + Bto navigate one word to the left of the cursor.Use
Alt + Fto navigate one word to the right of the cursor.Use
Alt + Backspaceto delete one word to the left of the cursor.Use
Ctrl + Deleteto delete one word to the right of the cursor.Use
Ctrl + Dto close the current terminal.
Altering the Prompt
You can modify your prompt while keeping the same user and hostname, by using the PS1 environment variable.
Check out how you can do this here.
Alternatives to Bash
There are quite a few alternatives to Bash, such as zsh and DASH. Feel free to experiment with them in your free time.
Hardcore Python
Python is well-known for being able to produce short code.
A part of this feature owes to its list comprehensions and its join function.
If you want to learn even more, take a look at Python's built-in list operations: Learning about lambda functions will surely ease your use of the above functions.