I remembered that when I was using Solaris, I could create an alias like this:
I understand that I should use '=' while creating an alias on Ubuntu, e.g.
However, I don't understand why the following alias would not work:
Could someone help? Many thanks!
Code:
% alias mygrep 'grep \!* myfile.txt'
I understand that I should use '=' while creating an alias on Ubuntu, e.g.
Code:
% alias ll='ls -l'
However, I don't understand why the following alias would not work:
Code:
% alias mygrep='grep \!* myfile.txt'
Could someone help? Many thanks!