Sample:
register-bashrc.sh
#!/bin/bash _INPUT=$1 if ! grep -Fxq "${_INPUT}" ~/.bashrc then echo "${_INPUT}" >> ~/.bashrc fi