I have this text in
alias dwa='bash /opt/dwa.sh'
I tried to delete it with the following (and similar commands):
sed -i 'alias dwa=\'bash /opt/dwa.sh\'/d' /etc/bash.bashrc
Why did my
sed operation fail?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community