基础命令学习目录首页
硬件命令: dmesg、dmideode、lspci、hwconfig、ipmitool
linux命令大全(命令手册http://man.linuxde.net/)
其他人的优秀命令总结:Linux常用命令大全
线上查询及帮助命令(2个)
man help
文件和目录操作命令(18个)
ls cd cp find mkdir mv pwd rename rm rmdir touch tree basename dirname chattr lsattr file md5sum
查看文件及内容处理命令(21个)
cat tac more less head tail cut split paste sort uniq wc iconv dos2unix diff vimdiff rev grep/egrep join tr vi/vim
文件压缩及解压缩命令(4个)
信息显示命令(11个)
uname hostname dmesg uptime stat du df top free date cal
搜索文件命令(4个)
用户管理命令(10个)
useradd usermod userdel groupadd passwd chage id su visudo sudo
基础网络操作命令(11个)
telnet ssh scp wget ping route ifconfig ifup ifdown netstat ss
深入网络操作命令(9个)
nmap lsof mail mutt nslookup dig host traceroute tcpdump
有关磁盘与文件系统的命令(16个)
mount umount fsck dd dumpe2fs dump fdisk parted mkfs partprobe e2fsck mkswap swapon swapoff sync resize2fs
系统权限及用户授权相关命令(4个)
查看系统用户登陆信息的命令(7个)
whoami who w last lastlog users finger
内置命令及其它(19个)
echo printf rpm yum watch alias unalias date clear history eject time nc xargs exec export unset type bc
系统管理与性能监视命令(9个)
chkconfig vmstat mpstat iostat sar ipcs ipcrm strace ltrace
关机/重启/注销和查看系统信息的命令(6个)
shutdown halt poweroff logout exit Ctrl+d
进程管理相关命令(15个)
bg fg jobs kill killall pkill crontab ps pstree nice/renice nohup pgrep runlevel init service
lsmod lscpu lsscsi numastat lspci lsblk MegaCli64
优化命令:优化 性能调优 linux性能调优 性能调优工具 Linux-cpu分析-vmstat sar-1 sar-2 top-1 top-2 vmstat-1 vmstat-2 iostat-1 iostat-2 iostat-3 netstat-1 netstat-2 netstat-3 iftop-1 sar命令使用详解
网络命令: 网络命令常用9个 网络安全基础命令 ip-1 ifconfig-1 ifconfig-2 route-1 route-2 ping-1 arp-1 traceroute-1 traceroute-2 nslookup-1 nslookup-2 Linux网络管理之基础知识详解有网络拓扑 snmpwalk
抓包命令:tcpdump-1 tcpdump-2 tcpdump-3 tcpdump4 uniq sort
系统内核参数 ulimit
其他命令:
tee printf pssh pscp sshpass ifstat curl jq
1、文件管理
diff file indent cut ln less locate paste tee umask read scp
2、文档编辑
col fold ispell join spell tr expr let
3、文件传输
bye
4、磁盘管理
bye du pwd stat tree
chroot clock
eval set modprobe passwd setup setenv hwclock
菜鸟教程:http://www.runoob.com/linux/linux-command-manual.html
1、文件管理 | |||
cat | chattr | chgrp | chmod |
chown | cksum | cmp | diff |
diffstat | file | find | git |
gitview | indent | cut | ln |
less | locate | lsattr | mattrib |
mc | mdel | mdir | mktemp |
more | mmove | mread | mren |
mtools | mtoolstest | mv | od |
paste | patch | rcp | rm |
slocate | split | tee | tmpwatch |
touch | umask | which | cp |
whereis | mcopy | mshowfat | rhmask |
scp | awk | read | updatedb |
2、文档编辑 | |||
col | colrm | comm | csplit |
ed | egrep | ex | fgrep |
fmt | fold | grep | ispell |
jed | joe | join | look |
mtype | pico | rgrep | sed |
sort | spell | tr | expr |
uniq | wc | let | |
3、文件传输 | |||
lprm | lpr | lpq | lpd |
bye | ftp | uuto | uupick |
uucp | uucico | tftp | ncftp |
ftpshut | ftpwho | ftpcount | |
4、磁盘管理 | |||
cd | df | dirs | du |
edquota | eject | mcd | mdeltree |
mdu | mkdir | mlabel | mmd |
mrd | mzip | pwd | quota |
mount | mmount | rmdir | rmt |
stat | tree | umount | ls |
quotacheck | quotaoff | lndir | repquota |
quotaon | |||
5、磁盘维护 | |||
badblocks | cfdisk | dd | e2fsck |
ext2ed | fsck | fsck.minix | fsconf |
fdformat | hdparm | mformat | mkbootdisk |
mkdosfs | mke2fs | mkfs.ext2 | mkfs.msdos |
mkinitrd | mkisofs | mkswap | mpartition |
swapon | symlinks | sync | mbadblocks |
mkfs.minix | fsck.ext2 | fdisk | losetup |
mkfs | sfdisk | swapoff | |
6、网络通讯 | |||
apachectl | arpwatch | dip | getty |
mingetty | uux | telnet | uulog |
uustat | ppp-off | netconfig | nc |
httpd | ifconfig | minicom | mesg |
dnsconf | wall | netstat | ping |
pppstats | samba | setserial | talk |
traceroute | tty | newaliases | uuname |
netconf | write | statserial | efax |
pppsetup | tcpdump | ytalk | cu |
smbd | testparm | smbclient | shapecfg |
7、系统管理 | |||
adduser | chfn | useradd | date |
exit | finger | fwhios | sleep |
suspend | groupdel | groupmod | halt |
kill | last | lastb | login |
logname | logout | ps | nice |
procinfo | top | pstree | reboot |
rlogin | rsh | sliplogin | screen |
shutdown | rwho | sudo | gitps |
swatch | tload | logrotate | uname |
chsh | userconf | userdel | usermod |
vlock | who | whoami | whois |
newgrp | renice | su | skill |
w | id | free | |
8、系统设置 | |||
reset | clear | alias | dircolors |
aumix | bind | chroot | clock |
crontab | declare | depmod | dmesg |
enable | eval | export | pwunconv |
grpconv | rpm | insmod | kbdconfig |
lilo | liloconfig | lsmod | minfo |
set | modprobe | ntsysv | mouseconfig |
passwd | pwconv | rdate | resize |
rmmod | grpunconv | modinfo | time |
setup | sndconfig | setenv | setconsole |
timeconfig | ulimit | unset | chkconfig |
apmd | hwclock | mkkickstart | fbset |
unalias | SVGATextMode | ||
9、备份压缩 | |||
ar | bunzip2 | bzip2 | bzip2recover |
gunzip | unarj | compress | cpio |
dump | uuencode | gzexe | gzip |
lha | restore | tar | uudecode |
unzip | zip | zipinfo | |
10、设备管理 | |||
setleds | loadkeys | rdev | dumpkeys |
MAKEDEV |
参考文献: