You are not logged in.
Pages: 1
Hi.
I created some alias in ~/.bashrc looking like
alias backup='blah-blah-blah && echo 'All is done correctly.''
Then I rebooted my PC and it automatically became
alias backup='blah-blah-blah && echo ''All is done correctly.'
Quotes changed. Why? What was incorrect? Is it autocorrection?
Offline
Try this:
alias backup="blah-blah-blah && echo 'All is done correctly.'"
Usually when surrounding quotes with quotes, the outside quotes have to be double and the inside have to be single.
Offline
Pages: 1