I want to modify my output in bash for better view of output. Simply put \n before this. How can I change it in .bashrc? For example:It's default:root@comp:$ abcbash: abc: command not foundI want this:root@comp:$ abcbash: abc: command not found
Newline (\n) before output in bash
bash;prompt;output
You can trap the DEBUG signal:trap 'printf \n' DEBUGDEBUG trapped command printf \n will be run before the command is executed unlike PROMPT_COMMAND which will be run after the command is executed.You can add this to your ~/.bashrc to make it permanent.Example:$ abcNo command 'abc' found, did you mean:....$ trap 'printf \n' DEBUG$ abcNo command 'abc' found, did you mean:....