# Server Info cfda2 140.109.21.221 cfda3 140.109.21.243 cfda4 140.109.21.244 cfdaAlpha 172.25.166.19 cfdaBeta 172.25.166.21 1. cfda1.citi.sinica.edu.tw / 140.109.21.238 (cfda1) 2. cfda2.citi.sinica.edu.tw / 140.109.21.221 (cfda2) 3. cfda3.citi.sinica.edu.tw / 140.109.21.243 (cfda3) 4. cfda4.citi.sinica.edu.tw / 140.109.21.244 (cfda4) 5. 172.25.166.19 (cfdaAlpha) 6. 172.25.166.21 (cfdaBeta) # VPN * ivanti pulse secure https://www.ivanti.com/products/secure-unified-client # Vim cheat sheet: https://vim.rtorr.com/ # Visual Studio Code download: https://code.visualstudio.com/ For windows user default terminal 設定會是 windows power shell 需下載bash [這裡](https://git-scm.com/download/win) 下載完後至vscode, ctrl+shift+p 輸入select default profile 選git bash 即可 intern 帳號密碼 intern@cfda4.citi.sinica.edu.tw vu84au04u;3n7xk7 # test.sh ``` echo hello world! file/folder mkdir touch vim rm cp mv explore pwd cd htop nvidia-smi kill help man scp unzip unzip archive.zip -d dir unrar tar xjf find find path -name *.txt find path -type f find path -type d for i in {1..10}; do echo folder_$i done a=0 b=2 # if elif else if [ $a -gt 0 ]; then echo "${a}" elif [ $b -eq 2 ]; then echo "${b}" fi $1 $2 a=$(echo this) echo $a pipe stdin stdout stderr touch a ls a b ls a b > out ls a b 2> err ls a b > out 2> err ls a b > out 2>&1 < redirect <<< input command1 | command2 command1 > tmp command2 < tmp python3 main.py > logs pdb, or vscode debugger git ```