原创 sudo apt-get update 報錯

Problem & Solution:Problem_0 以下 ID 的密鑰沒有可用的公鑰: 1397BC53640DB551W: 無法下載http://dl.google.com/linux/chrome/deb Soluti

原创 apt-get install 遇到依賴問題

方法一 :askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa需要用到的部分是用了裏面排名最高的回答的 Solution

原创 因爲您要求某些軟件包保持現狀,就是它們破壞了軟件包間的依賴關係

sudo apt-get install aptitudeProblem & Solution:找不到aptitude包, 則先sudo apt-get update之後就可以 sudo aptitude install ...

原创 右鍵添加"Open in Terminal"選項

右鍵添加”Open in Terminal”選項如果刷的系統是正版Ubuntu,想在右鍵添加”Open in Terminal”選項:sudo apt-get install nautilus-open-terminal重啓電腦即可看到已

原创 監視顯存

監視顯存使用情況watch [options] command每10秒更新一次顯存使用情況watch -n 10 nvidia-smi

原创 查看指令作用

whatis command_namefor example$ whatis watch watch(1) - execute a program periodically, showing output fullscree

原创 更改源

修改官方軟件源:System Settings –> Software & Updates –> Ubuntu Software –> Download from –> Other.. –> China –> Select Best Se

原创 進程操作

關閉進程ps to show them all. and type: kill -9 PID_of_process

原创 顯示唐詩宋詞

唐詩宋詞package fortune-zh sudo apt-get install fortune-zh每30秒顯示一首唐詩宋詞watch -n 30 fortune-zh

原创 Ubuntu 備份與恢復

詳細教程Ubuntu可以將系統備份爲一個tar壓縮文件,也能很方便地從該文件恢復系統。備份我們的目標是備份/目錄,但是不備份/home, 以及/proc, /sys, /mnt, /media, /run, /dev 要實現這一點,執

原创 git:指令備忘錄

準備工作生成公鑰:ssh-keygen複製以下SSH公鑰到對應地方:cat ~/.ssh/id_rsa.pub測試連接是否成功:ssh -T [email protected]日常指令CommandAnnotationgit簡潔地查看所有指令g

原创 conda相關操作與可能遇到的問題

安裝庫conda install ...更新庫conda update ...更新所有庫conda update --all更新 conda 自身conda update conda更新 anaconda 自身conda update a

原创 aptitude指令

aptitude update #更新可用的包列表 aptitude upgrade #升級可用的包 aptitude dist-upgrade #將系統升級到新的發行版 aptitude install

原创 Google檢索技巧

搜索指定符號限定搜索+限定過濾-同義詞~通配符*精確搜索“”或|數字範圍..官方定義define:限定文件類型filetype:限定網站site:限定新聞來源source:限定新聞來源國location:限定圖片尺寸imagesize:

原创 生成目錄下所有圖片的路徑

ls *.jpg > list.txt ls /train/depths/.png > depth.txt