# Making an alias which maps arguments to the middle of the command

I intend to alias killapp X to pidof X | xargs kill or kill pidof X, yet I can not consider a means to do this with simply an alias on killapp. Just how could I do this so I do not need to do killapp X `?

3
2022-07-25 20:39:14
Source Share