百人1:linux命令
ssh alice@www.xxx.net 用gitbash 從本地登入伺服器
mv a b 把檔案a重新命名為b, 這是在工作中需要手動替換開機頁面,每次圖片需重新命名為開發程式碼中設定的名字
scp 本地檔案路徑 alice@www.xxx.net:/data/www/weekly 把本地檔案上傳至伺服器
多個本地檔案路徑時用空格隔開就好,曾經傻傻的重複用這個命令~~~
cd .. 返回上級目錄
rm a 刪除檔案a
shutdown -h now 立即關機(做伺服器的系統慎用)
shutdown -r now 立即重啟
reboot 重啟
剛搜尋了下 shutdown 可設定重啟時間,可以安全地關閉或重啟Linux系統。
ls 列出檔案和目錄
tab 鍵匹配檔案,一般用來快速找檔案
chmod 777 檔名 用root登入修改檔案許可權
r:4可讀 w:2 可寫 x:1 可執行
兩個adb命令
安卓的檢視日誌命令(覺得挺好用~推薦)
$ adb shell ps|grep aaa
u0_a79 23719 32183 891636 234108 ffffffff 00000000 S com.dhms2
$ adb logcat |grep 23719
寫到這裡,才發現有平時中基本沒用到命令~真是啥也不懂~學習!
相關文章
- Linux命令(1)——xargs命令Linux
- 每天一個linux命令(1):ls命令Linux
- 每天一個 Linux 命令(1):ls 命令Linux
- 每日Linux命令(1):iostatLinuxiOS
- 每天學習linux命令(1)Linux
- Linux彙總基本命令【1】Linux
- 每天一個linux命令(1):find命令之execLinux
- Linux(1) linux入門以及常用命令Linux
- 每天一個linux命令–which(1)Linux
- 高階 Linux 命令精通指南1,2,3 - Linux常用監控命令Linux
- Linux 日常操作命令集合 -1程式操作Linux
- linux下常用命令總結_1Linux
- Linux命令- echo、grep 、重定向、1>&2、2>&1的介紹Linux
- Linux入門學習(1基礎操作命令)Linux
- 每天一個linux命令-檔案(1)-dfLinux
- 11 個鮮為人知的 Linux 命令(1)Linux
- 快樂的Linux命令列--讀書筆記1Linux命令列筆記
- 《前端運維》一、Linux基礎--基礎命令(1)前端運維Linux
- Linux運維筆記-日常操作命令總結(1)Linux運維筆記
- Linux 命令列工具使用小貼士及技巧(1)Linux命令列
- Linux crontab 命令格式與詳細例子 (R1)Linux
- Linux命令—–CP命令Linux
- 【Linux命令】grep命令Linux
- Linux命令--ps命令Linux
- mongodb命令(1)MongoDB
- unix命令1
- linux檢視超過1G大檔案命令Linux
- Ubuntu linux命令練習1 shell seq rand 格式化UbuntuLinux
- Linux檔案查詢命令find詳述(part1)Linux
- linux命令大全-linux命令使用和管理Linux
- Linux命令篇 - grep 命令Linux
- Linux命令篇 - sed 命令Linux
- Linux命令篇 - tar 命令Linux
- Linux命令列與命令Linux命令列
- linux命令 之 du 命令Linux
- linux命令:ping命令Linux
- Linux命令之lldptool命令Linux
- linux 命令Linux