Bash shortcut keys

Bash include some useful  shortcut keys, here is partial list. Ctrl + l  - clean the screen from all lines. Same as running the command clear. Ctrl + a - move to the beginning of the current line. Ctrl + e - move to the end of thecurrent line. Ctrl + u - clear the current line Ctrl … Continue reading Bash shortcut keys


Bash function and alias

alias command is one of the most used command in Linux.We can use alias to create a new command or to modify existing one. The use is very simple alias <command>="<what we want to excute>" For example, if we want to create a new command p, that will print the working directory: alias p='pwd' Let … Continue reading Bash function and alias