Merge branch 'master' of https://git.yauk.tv/jay817/wiki
This commit is contained in:
10
README.md
10
README.md
@@ -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"
|
||||||
|
```
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
export RC="~/.bash_aliases"
|
export RC="~/.bash_aliases"
|
||||||
alias rc="vi $RC && tail $RC && source $HOME/.${SHELL##*/}rc"
|
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 ls="ls -al --color=auto"
|
||||||
alias ns="watch -n 0.1 nvidia-smi"
|
alias ns="watch -n 0.1 nvidia-smi"
|
||||||
alias log="docker compose logs -f" # compose V2
|
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 debian="docker run -it --rm --gpus all python bash"
|
||||||
alias download="huggingface-cli download"
|
alias download="huggingface-cli download"
|
||||||
alias journal="sudo journalctl -u"
|
alias journal="sudo journalctl -u"
|
||||||
alias bsah="bash" # common typing error
|
|
||||||
alias pyhton="python" # common typing error
|
|
||||||
alias make="make -j"
|
alias make="make -j"
|
||||||
|
|
||||||
export GGML_CUDA=1
|
export GGML_CUDA=1
|
||||||
@@ -25,6 +23,11 @@ alias dpkg="sudo dpkg"
|
|||||||
alias systemctl="sudo systemctl"
|
alias systemctl="sudo systemctl"
|
||||||
alias service="sudo service"
|
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; }
|
dash() { sudo docker run -it --rm "$1" bash; }
|
||||||
alias nuc="ssh 192.168.12.2"
|
alias nuc="ssh 192.168.12.2"
|
||||||
alias mac="ssh jaewooklee@192.168.12.45"
|
alias mac="ssh jaewooklee@192.168.12.45"
|
||||||
Reference in New Issue
Block a user