I want to create two different aliases to the same command without repeating myself. How can I do it in bash? For example, I want listlong and longlist to both be aliases to "ls -al".
|
feedback
|
And further changes of the alias | ||||
feedback
|
|
Here's a variation on cYrus's answer with even less repetition:
If you want to do something similar but have them be independent:
which has similar results to Janne Pikkarainen's answer (which is the least repetitive so far). | |||
|
feedback
|