- Ctrl+l – Clears the Screen.
- Ctrl+r – Does a search in previously given commands in shell.
- Ctrl+u – Clears the typing before the hotkey.
- Ctrl+a – Places cursor at the beginning of the command at shell.
- Ctrl+e – Places cursor at the end of the command at shell.
- Ctrl+d – Kills the shell.
- Ctrl+z – Places the currently running process into background.
By default the cut command displays the entire line if there is no delimiter in it. Which cut option is used to supress these kind of lines?
The -s option is used to supress the lines that do not contain the delimiter.
By default, the head command displays the first 10 lines from a file. If we change the option of head, then we can display as many lines as we want. head -20 filename An alternative solution is using the sed command sed ’21,$ d’ filename The d option here deletes the lines from 21 to […]