For example if I have a setup like:
alias llaa = pwd && ll'''
Will the second command work, or would I have to set it up in a more verbose manner (like ```alias llaa = pwd && ls -la```)
For example if I have a setup like:
alias llaa = pwd && ll'''
Will the second command work, or would I have to set it up in a more verbose manner (like ```alias llaa = pwd && ls -la```)
I think it might not work with the spaces. But if it does, then you are fine.
Ah, obviously you’re right and bash is less tolerant to spaces than I’ve had in my mind:
https://www.digitalocean.com/community/tutorials/an-introduction-to-useful-bash-aliases-and-functions