Last active
May 2, 2020 13:30
-
-
Save tolgahanakgun/f7e0788136ce8c78cfc7c6a2822e58db to your computer and use it in GitHub Desktop.
aliases file
This file contains 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
# list connections of a process by name | |
alias lsofproc='lsof -a -i -c' | |
# list all executables in a folder | |
alias lse='find . -maxdepth 1 -type f -executable' | |
# go one level directory up | |
alias ..='cd ..' | |
# go three level directory up | |
alias ...='cd ../../' | |
alias c='clear' | |
# untar a file | |
alias untar='tar -zxvf ' | |
alias myip='curl http://ipecho.net/plain; echo' | |
alias update='sudo apt-get update && sudo apt-get upgrade' | |
alias www='python -m SimlpeHTTPServer 8000' | |
#ROCK64 | |
#alias temp="echo \"x=\$(cat /sys/devices/virtual/thermal/thermal_zone0/temp); scale = 1; x / 1000\" | bc -l | awk '{print \$1\"'\"'\"'C\"}\'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment