There are few important commands that i think if you use into your terminal, you can save time and increase your productivity.
- tab => for autoCompletion.
- cd - => takes you to the previous directory.
- cd ~ => takes you to the home directory.
- ll or ls -l => lists the contents of a directory.
- command_1; command_2; command_3 => for running the multiple commands.
- command_1 && command_2 => second command will execute only if first command got executed successfully.
- Ctrl+r search_term => First of all press Ctrl+r, you will need to type a word or letter to find some link or command that you want to type again but forgot what it was.
- Ctrl+a => takes you to the beginning of the line in terminal.
- Ctrl+e => takes you to the end of the line in terminal. 10.less fileName => if you just want to read a text file. I think it is better to use less than using nano or vim. But to get out of less file, go down to the page and type q.
> file => this will empty the file but will not delete it.