日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

350個linux命令詳解

COMMAND 命令DESCRIPTION 注解System information
系統(tǒng)信息archshow architecture of machine
顯示主機的體系結(jié)構(gòu)uname -rshow used kernel version
顯示kernel版本信息dmidecode -qshow hardware system components - (SMBIOS / DMI)
顯示硬件系統(tǒng)部件hdaparm -i /dev/hdadisplays the characteristics of a hard-disk
顯示某一硬盤特點hdparm -tT /dev/sdaperform test reading on a hard-disk
執(zhí)行某一硬盤讀取測試cat /proc/cpuinfoshow information CPU info
顯示CPU信息cat /proc/interruptsshow interrupts
顯示中斷信息cat /proc/meminfoverify memory use
核實內(nèi)存使用情況cat /proc/swapsshow file(s) swap
顯示文件swap情況cat /proc/versionshow version of the kernel
顯示kernel版本信息cat /proc/net/devshow network adpters and statistics
顯示網(wǎng)絡(luò)信息cat /proc/mountsshow mounted file system(s)
顯示掛載系統(tǒng)信息lspci -tvdisplay PCI devices
顯示PCI設(shè)備lsusb -tvshow USB devices
顯示USB設(shè)備dateshow system date
顯示系統(tǒng)日期cal 2007show the timetable of 2007
顯示2007年日歷date 041217002007.00 set date and time
- MonthDayhoursMinutesYear.Second
設(shè)置時間和日期 - 格式:月日時分年.秒clock -w
save changes on BIOS
保存BIOS設(shè)置linux commands line v1.0 - LinuxGuide.it linux命令詳解翻譯 - moon-blog.cn
COMMAND 命令DESCRIPTION 注解Shutdown, Restart of a system and Logout
系統(tǒng)關(guān)機,重啟或注銷shutdown -h nowshutdown system
關(guān)閉系統(tǒng)init 0 shutdown -r hours:minutes planned shutdown of the system
定時關(guān)機shutdown -ccancel a planned shutdown of the system
取消定時關(guān)機shutdown -r nowreboot
重啟系統(tǒng)rebootlogoutleaving session
注銷用戶linux commands line v1.0 - LinuxGuide.it linux命令詳解翻譯 - moon-blog.cn
COMMAND 命令DESCRIPTION 注解Files and Directory
文件及目錄cd /homeenter to directory "/ home"
進入/home目錄cd ..go back one level
向上返回一個目錄cd ../..go back two levels
向上返回兩個目錄cdgo to home directory
前往/home目錄cd ~utentego to home directory
前往/home目錄cd -go to previous directory
進入先前所在目錄pwdshow the path of work directory
顯示目錄路徑lsview files of directory
顯示目錄內(nèi)包含的文件ls -Fview files of directory
顯示目錄內(nèi)包含的文件ls -lshow details of files and directory
顯示目錄內(nèi)文件的詳細信息ls -ashow hidden files
顯示隱藏文件ls *[0-9]*show files and directory containing number
顯示目錄內(nèi)包含有數(shù)字的文件lstreeshow files and directories in a tree starting from root
以樹形顯示文件mkdir dir1create a directory called "dir1"
建立dir1目錄mkdir dir1 dir2create two directories simultaneously
建立兩個目錄mkdir -p /tmp/dir1/dir2create a directory tree
建立目錄樹rm -f file1delete file called "file1"
刪除名為file1的文件rmdir dir1 delete directory called "dir1"
刪除名為dir1的目錄rm -rf dir1remove a directory called "dir1" and contents recursively
刪除dir1目錄及所含文件rm -rf dir1 dir2remove two directories and their contents recursively
刪除dir1 dir 2兩個目錄及所含文件mv dir1 new_dirrename / move a file or directory
重命名/移動 文件或文件夾cp file1 file2copying a file
復制文件cp dir/* .copy all files of a directory within the current work directory
復制目錄及目錄內(nèi)所有文件到當前目錄cp -a /tmp/dir1 .copy a directory within the current work directory
復制目錄到當前目錄cp -a dir1 dir2copy a directory
復制目錄ln -s file1 lnk1 create a symbolic link to file or directory
建立文件或目錄的符號鏈ln file1 lnk1create a physical link to file or directory
建立文件或目錄的物理鏈touch -t 0712250000 fileditestmodify timestamp of a file or directory
- (YYMMDDhhmm)
修改文件或目錄的時間戳
- 格式:YYMMDDhhmmlinux commands line v1.0 - LinuxGuide.it linux命令詳解翻譯 - moon-blog.cn
COMMAND 命令DESCRIPTION 注解File search

推薦閱讀