Linux 從遠端伺服器複製檔案 - scp

摘要 scp是一種Linux指令,可以實現跨Internet(WAN/LAN)傳送資料。 1 2 #example: scp -r [email protected]:/home/neil/Documents/Dev/ ~/Downloads 1 2 # -r 指複製整個目錄(資料夾) scp -r <username>@host:<which remote dir cp to> <local dir>

June 5, 2020 · 1 分鐘 · Byte4Cat

Ubuntu Change Screen Resolution via Terminal

摘要 Xrandr工具可用於動態設定螢幕輸出解析度及比例,默認情況下,此軟體安裝在Ubuntu 18.04上。 Changing Screen Resolution through Terminal ...

June 5, 2020 · 1 分鐘 · Byte4Cat

Linux使用find指令查詢特定檔案及目錄並刪除

摘要 在Linux底下當我們要針對資料夾的特定檔案執行操作時,如果一個一個的做非常麻煩又沒消率,我們可以透過 find 指令解決這個問題,以下提供一個刪除檔案的例子。 ...

May 28, 2020 · 2 分鐘 · Byte4Cat

Visual Studio Code : command not found

摘要 在Terminal中使用VScode中自帶的code函數時,出現錯誤如下: 1 command not found code 除錯 確保已將Visual Studio Code應用程式放到Applications文件夾中,否則 VS code 重新啟動後,您將不得不再次執行此過程 接下來打開Visual Studio Code,透過**(⇧⌘P)**打開面板然後輸入以找到Shell命令:shell command 選擇 Install ‘code’ command in PATH ...

May 28, 2020 · 1 分鐘 · Byte4Cat