This commit is contained in:
Jaewook Lee
2024-08-09 22:34:46 +09:00
3 changed files with 15 additions and 4 deletions

View File

@@ -1 +1,9 @@
# wiki
# wiki
```shell
mkdir -p ~/.config && cd ~/.config
git clone https://git.yauk.tv/jay817/wiki
ln -s $(pwd)/wiki/linux-bash/bash_aliases.sh ~/.bash_aliases
RC="$HOME/.${SHELL##*/}rc" && echo $RC
source "$RC"
```

View File

@@ -1,7 +1,7 @@
export RC="~/.bash_aliases"
alias rc="vi $RC && tail $RC && source $HOME/.${SHELL##*/}rc"
alias l="ls -al --color=auto"
alias l="ls -l --color=auto"
alias ls="ls -al --color=auto"
alias ns="watch -n 0.1 nvidia-smi"
alias log="docker compose logs -f" # compose V2
@@ -9,8 +9,6 @@ alias i="sudo apt-get install -y"
alias debian="docker run -it --rm --gpus all python bash"
alias download="huggingface-cli download"
alias journal="sudo journalctl -u"
alias bsah="bash" # common typing error
alias pyhton="python" # common typing error
alias make="make -j"
export GGML_CUDA=1
@@ -25,6 +23,11 @@ alias dpkg="sudo dpkg"
alias systemctl="sudo systemctl"
alias service="sudo service"
alias bsah="bash" # common typing error
alias pyhton="python" # common typing error
alias stauts="status"
alias stuats="status"
dash() { sudo docker run -it --rm "$1" bash; }
alias nuc="ssh 192.168.12.2"
alias mac="ssh jaewooklee@192.168.12.45"