I am trying to develop a command to find all .bashrc files in the /home directory on the system (dumping errors to the bit bucket), and add a line to each to change the ps1 prompt to > .
This is my silly attempt so far :
find /home .bashrc 2>/dev/null
which is just finding the files without error messages. But to add ps1 = > to each line all in one command, I need a lil help. Thanks guys.
This is my silly attempt so far :
find /home .bashrc 2>/dev/null
which is just finding the files without error messages. But to add ps1 = > to each line all in one command, I need a lil help. Thanks guys.
Comment