<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                1.創建目錄并進入目錄 ``` mkdir foo && cd "$_" ``` 2.查看**軟鏈接**的**實際路徑** ``` ? pwd -P ``` 3.反向搜索 reverse-i-search (命令歷史記錄) ``` ctrl + R鍵 然后輸入關鍵字 ``` 3.復制cp -av ``` cp -av -a :表示保留鏈接、文件屬性,并復制目錄下的所有內容 -v:詳細顯示命令執行的操作 ``` 4.grep 活用 ``` ll | grep *.txt ``` 5. 批量刪除 ``` ll 2021-01* rm -fr 2021-01* ``` 6.查看最近的歷史記錄 ``` history | tail -10 ``` 7.帶行號查看文件內容 ``` nl test.php ``` 8.tail 用法 ``` tail -n 100 /etc/cron #顯示最后100行數據 tail -n -100 /etc/cron #除了前99行不顯示外,顯示第100行到末尾行 ``` 9.copy 多個文件 ``` cp /home/usr/dir/{file1,file2,file3,file4} /home/usr/destination/ ``` 10.安裝 **rpm** 依賴包 ``` yum -y install epel-release ``` 11.查看公網IP(本機) ``` curl ip.me curl?ifconfig.me ``` 12.**curl** ``` curl -i -X POST -H 'Content-type':'application/json' -d {"BTime":""$btime""} https://dev.huixiangdai.com/api/notify/index ``` 13.**查看日志訪問ip** ``` grep "27/Mar/2023" /www/wwwlogs/novel.bjbalun.com.log | awk '{print $1}' | sort | uniq | wc -l ``` 14.**查看服務** ``` systemctl list-units | grep fire ``` 15.**設置主機名** ``` hostnamectl set-hostname kang(主機名) ``` 16.**查看文件行數** ``` wc -l file.txt ``` 17.**臨時修改vi** ``` export VISUAL=vi export EDITOR=vi ``` 18. **>/dev/null 2>&1** ``` >/dev/null 2>&1 的意思是 將命令的標準輸出和標準錯誤輸出都重定向到`/dev/null` ,也就是將輸出和錯誤丟棄,不在終端上顯示或記錄。 ``` 19. **grep獲取當天的日期的數據** ``` grep "^$(date +"%Y-%m-%d")" /path/to/logfile.log > /path/to/output.log ``` 20. **查看當前的文件數量** ``` ls -l | grep "^-" | wc -l ``` 21. **設置開機啟動并馬上啟動** ``` systemctl enable --now firewalld #這條命令將完成兩個任務:立即啟動`firewalld`服務,并將其設置為開機時自動啟動 ``` 22. **rm -fr /user/local/sbin/runc** ``` rm-fr `which runc` ``` 23. **nohup后臺運行** ``` nohup php artisan pick2 > /dev/null 2>&1 & ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看