常用的linux和windows命令

常用的windows cmd命令(不時更新)
清空屏幕

cls

顯示ip地址

ipconfig

複製文件

 xcopy /Y a\b	..\c\d
將b文件複製到上層目錄的c文件夾下的d文件中

打印當前的完整路徑

chdir    (windows)
pwd     (linux)

顯示當前目錄下所有文件

dir

過濾

dir | findstr office
這個表示先列出當前路徑下所有文件,然後查詢名稱帶有office的文件

打開當前文件夾

start .

常用的linux命令(不時更新)
卸載程序

dpkg -l |grep lantern
sudo apt-get remove lantern
whereis lantern
sudo rm -r -f /usr/lib/lantern
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章