Skip to content

Instantly share code, notes, and snippets.

@tolgahanakgun
Last active May 2, 2020 13:30
Show Gist options
  • Save tolgahanakgun/f7e0788136ce8c78cfc7c6a2822e58db to your computer and use it in GitHub Desktop.
Save tolgahanakgun/f7e0788136ce8c78cfc7c6a2822e58db to your computer and use it in GitHub Desktop.
aliases file
# 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