|
|
|
|
|
by coderobe
2820 days ago
|
|
On a more serious note, > alias www='python -m SimpleHTTPServer 8000' that'll only work on systems where python is python2 > alias speed='speedtest-cli --server 2406 --simple' speedtest-cli automatically selects a server, invoking it without any opts at all is perfectly fine > alias ipi='ipconfig getifaddr en0' the interface name is not predictable, nor portable - `ip a` Most if not all of these aliases seem rather pointless after all |
|
It almost always what I want.
> alias getpass="openssl rand -base64 20"
If you really want to be handy, use "pass generate -c" instead of openssl, you got the password stored in your passstore and temporary copied to the clipboard.