2021-02-16 at 12:08 PM UTC
We had the shell script thread. Now let's have a thread where we post some useful aliases. I got a bunch, but a lot of them are just command or script invocations with the arguments/flags passed that i use the most when invoking said scripts or utility. I do have a few that are pretty handy beyond that, and i think universally applicable.
alias httproxy="curl 'https://api.getproxylist.com/proxy?protocol[]=http&anonimity[]=high%20anonimity&anonimity[]=anonymous'"
alias proxy="curl https://gimmeproxy.com/api/getProxy"
alias myip="curl https://api.myip.com"
alias web="python3 -m webbrowser "
alias serve="python3 -m http.server "
# Alias Wizardry
alias torshell=". torsocks on && notify-send Note. 'Terminal with PID $$, sessions routed through tor' -i info"
alias dpaste-h="echo -e 'usage:\n cat foo.txt | dpaste' \n"
alias dpaste="curl -F 'format=url' -F 'content=<-' https://dpaste.org/api/"
You can make an alias for different proxy protocols with the first alias in the list there. The reason i don't is because i have a shell script specifically for gathering socks proxies, sorted on geographical location and speed.
Any handy aliases you like to use often?
The following users say it would be alright if the author of this
post didn't die in a fire!
2021-02-16 at 1:03 PM UTC
If you're on Windows, you can actually have aliases too, for all you Windows normies out there. Either through Environment variables and/or DOSKEYS.