Created
April 18, 2019 13:40
-
-
Save mz0/f6c9cd7c28c7d12bdd76b34d320847ae to your computer and use it in GitHub Desktop.
Alias quoting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# always enclose alias definintion in single-quotes | |
# otherwise expect smth. like `alias clan='ip a flu mvl1; kill 8750'` | |
alias clan='ip a flu mvl1; kill $(ps ax |grep mvl1|grep -v "grep"| sed "s/^[ \t]*//" | cut -f1 -d" ")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment