This commit is contained in:
2024-10-12 08:31:32 +00:00
parent c8d2198976
commit 1369f68048

View File

@@ -39,11 +39,13 @@ alias systemctl="sudo systemctl"
cd() { clear; echo "$(pwd)/$*"; echo; command cd "$@" && ls -lh --color=auto; echo; }
alias ip="ip -4"
alias py="python"
alias p="python"
alias my="sudo chown -R $(id -u):$(id -g)"
alias l="clear; pwd; echo; command ls -lh --color=auto"
alias ls="clear; pwd; echo; command ls -alh --color=auto"
export PATH=$PATH:$HOME/minio-binaries/
alias make="make -j"
alias ns="watch -n 0.1 nvidia-smi"
log() {
@@ -110,7 +112,7 @@ alias myip="curl ifconfig.me" # 내 IP 주소 확인
alias ports="netstat -tuln" # 열려 있는 포트 확인
alias free="free -h --si"
alias df="df -h"
alias diff="git diff --staged"
alias status="git status ."
alias push="git push"
alias pull="git pull"
@@ -121,7 +123,7 @@ add() {
else
git add $@
fi
diff
git status
}
parallel() {
if [ $# -lt 2 ]; then