xfce4-terminalI moved from xterm to xfce4-terminal due to its ability to resize the font on the fly using Ctrl Shift +/-. xterm lacked many features which I wanted to use while keeping it lightweight. I have modified some aspects of it though.
xfce4-terminal provides an option which changes the background color automatically of each terminal window. What’s better, it chooses colors from a set of dark and light colors depending on your current terminal colorscheme.~/.bashrc to colorcode the prompt to reflect different information such as disk space, tty type etc.~/.inputrc to use vim keybinding for the terminal. Therefore, in addition to using all basic vim commands, I can press v to edit inside a vim instance. Moreover, no need to remember the whole set of editing and movement shortcuts that comes with the terminal.xfce4-teminal --drop-downApart from many shortcuts a linux terminal provides, here are some of my favorite ones.
In terminal, !! means the last command!!!! And !$ is the argument of the last command.
For example, if vim /etc/file gives you permission error, run sudo !! which is essentially sudo vim /etc/file.
Also, vim !$ means vim /etc/file.
Useful example: mkdir longdirectoryname. to enter the directory, do cd !$.
cat in it from the history, do
!cat:p.cat in it ffom the history, do !cat.history | grep cat and say the command number 455 is the right one that you want to run. Do !455.instead of cp /etc/file /etc/file-old, do cp /etc/file{,-old}
or, instead of mv /etc/file.txt /etc/file.pdf fo ` mv /etc/file.{txt,pdf}
So, empty field inside {.,.}` means itself.
Of course, you can define your own alias in .bashrc, but these shortcuts will save you a lot of typing effot.
Lifehacker has a few more tips.