Linux bin目录是什么
Linux bin目录下都是二进制可执行文件,bin目录放置的是最基本的一些命令的可执行文件,比如cp、mv、mkdir、chmod、chown等等,/usr下面也有一个bin目录,它里面的文件也是一些命令的可执行文件。
二进制文件
简单来说,文本文件是基于字符编码的文件,常见的编码有ASCII编码,UNICODE编码等等。二进制文件是基于值编码的文件,你可以根据具体应用,指定某个值是什么意思(这样一个过程,可以看作是自定义编码)。从上面可以看出文本文件基本上是定长编码的,基于字符嘛,每个字符在具体编码中是固定的,ASCII码是8个比特的编码,UNICODE一般占16个比特。而二进制文件可看成是变长编码的,因为是值编码嘛,多少个比特代表一个值,完全由你决定。
Linux命令大全
Linux 命令大全 | |||
---|---|---|---|
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 | groupadd | 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 | gpasswd | |
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 | poweroff |
推荐教程:《Linux运维》