- 縮短command line 裡面的路徑(terminal instance)
本來的路徑長相
usr@ubunt:~/Downloads/Cython/Delta_person_detection/faster-rcnn$
執行 PS1='\u@\h:\W\$ '
會變成
usr@ubuntu:faster-rcnn$To change it "permanently" (永遠改成這種形式)
In your~/.bashrc
, find the following section:if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\W\$ ' fi
- vi 裡面要刪除整行的指令:dd
用檔名找檔案 find . -name "*prototxt" -print
沒有留言:
張貼留言