SecureCRT命令列檢視錯誤日誌

2021-08-30 04:03:46 字數 551 閱讀 4619

一、ls 列出檔案和目錄 (相當於dir,dir也可以使用)

-a:列出所有檔案,包含隱藏檔案。

-l:列表形式,包含檔案的絕大部分屬性。

-r:遞迴顯示。

--help:此命令的幫助。

二、cd 改變目錄

cd /:進入根目錄

cd :回到自己的目錄(使用者不同則目錄也不同,root為/root,xxt為/home/xxt

cd ..:回到上級目錄

pwd:顯示當前所在的目錄

三.less 檔名:檢視檔案內容。

四.q 退出開啟的檔案。

五.上傳檔案:

rz 選擇要傳送的檔案,確定。

備註:

命令 --help檢視命令下詳細引數。

如:rz --help

sz --help

七:刪除檔案:

rm 刪除檔案

rmdir 刪除空目錄。

八.顯示 最近輸入的20條命令。

history 20

命令列檢視memcache狀態

pid memcache伺服器的程序id uptime 伺服器已經執行的秒數 time 伺服器當前的unix時間戳 version memcache版本 pointer size 當前作業系統的指標大小 32位系統一般是32bit rusage user 程序的累計使用者時間 rusage syst...

Linux 命令列檢視CPU資訊

幾個cpu more proc cpuinfo grep physical id uniq wc l 每個cpu是幾核 假設cpu配置相同 more proc cpuinfo grep physical id grep 0 wc l cat proc cpuinfo grep processor 1...

Linux 下檢視命令列歷史

linux中,bash輸入的歷史記錄,會存在.bash history 或者說root bash history 通過history檢視。可以看到,不僅可以輸出正確的命令,還可以輸入錯誤的 如abc 而且輸出的是history之前所有的命令 including history bash histor...