blockdev命令blkid命令badblocks命令fdisk命令du命令df命令convertquota命令lvcreate命令lsblk命令lilo命令hdparm命令grub命令lvremove命令lvreduce命令lvextend命令lvdisplay命令mkisofs命令mkinitrd命令mkbootdisk命令lvscan命令lvresize命令pvchange命令partprobe命令parted命令mkswap命令mknod命令pvs命令pvremove命令pvdisplay命令pvcreate命令pvck命令vgcreate命令vgconvert命令vgchange命令pvscan命令vgremove命令vgreduce命令vgextend命令vgdisplay命令fuser命令free命令dstat命令vgscan命令iotop命令iostat命令inotifywait命令ifstat命令nethogs命令mpstat命令ltrace命令lsof命令tload命令time命令strace命令sar命令arch命令vmstat命令uptime命令top命令losetup命令hwclock命令dmidecode命令cdrecord命令volname命令systool命令setpci命令lsusb命令lspci命令dmesg命令depmod命令bmodinfo命令lsmod命令kexec命令kernelversion命令insmod命令sysctl命令slabtop命令rmmod命令modprobe命令rcp命令ncftp命令ftp命令uname命令dump命令cpio命令tftp命令scp命令bunzip2命令arj命令restore命令bzip2命令bzgrep命令bzdiff命令bzcmp命令bzcat命令compress命令bzmore命令bzless命令bzip2recover命令tar命令lha命令gzip命令gzexe命令gunzip命令zcat命令unzip命令uncompress命令unarj命令znew命令zipsplit命令zipinfo命令zip命令zfore命令csplit命令comm命令colrm命令col命令fgrep命令expand命令egrep命令diffstat命令ispell命令grep命令fold命令fmt命令printf命令pr命令paste命令look命令join命令tac命令split命令spell命令sort命令rev命令uniq命令unexpand命令tr命令tee命令chgrp命令chattr命令wc命令lsattr命令file命令dos2unix命令chown命令chmod命令umask命令stat命令setfacl命令joe命令jed命令ex命令emacs命令ed命令vi命令sed命令pico命令nano命令hexdump命令head命令cut命令tail命令od命令more命令less命令find命令diff3命令diff命令cmp命令which命令whereis命令strings命令iconv命令dirname命令dd命令cat命令basename命令rename命令pathchk命令nl命令ln命令cd命令updatedb命令unlink命令touch命令ls命令install命令dirs命令cp命令pushd命令popd命令mv命令mkdir命令tree命令rmdir命令rm命令pwd命令gcov命令gcc命令expr命令as命令ldd命令ldconfig命令ld命令indent命令gdb命令objdump命令nm命令mktemp命令make命令readelf命令pstack命令protoize命令php命令perl命令apt-key命令apt-get命令unprotoize命令test命令chkconfig命令aptitude命令apt-sortpkgs命令dpkg-deb命令dpkg命令dnf命令dpkg-reconfigure命令dpkg-query命令dpkg-preconfigur命令dpkg-divert命令ntsysv命令dpkg-trigger命令dpkg-statoverrid命令dpkg-split命令rpm2cpio命令rpm命令rcconf命令patch命令rpmverify命令rpmsign命令rpmquery命令rpmdb命令rpmbuild命令cupsdisable命令cancel命令accept命令yum命令lpadmin命令lp命令eject命令cupsenable命令lpstat命令lprm命令lpr命令lpq命令lpc命令dnsdomainname命令dhclient命令reject命令ifcfg命令hostname命令ethtool命令domainname命令mii-tool命令ifup命令ifdown命令ifconfig命令ypdomainname命令usernetctl命令route命令nisdomainname命令ssh命令sftp-server命令sftp命令nmap命令iptstate命令ssh-keygen命令ssh-copy-id命令ssh-agent命令ssh-add命令arping命令arp命令sshd命令ssh-keyscan命令iperf命令hping3命令host命令dig命令arpwatch命令tracepath命令ping命令nslookup命令netstat命令elinks命令curl命令axel命令traceroute命令lftp命令jwhois命令ipcalc命令elm命令mailstat命令mailq命令mail命令lynx命令lftpget命令rsh命令rlogin命令rexec命令telnet命令apachectl命令ab命令wget命令ftptop命令ftpshut命令ftpcount命令exportfs命令mysqladmin命令mysql命令htpasswd命令htdigest命令ftpwho命令nfsstat命令mysqlshow命令mysqlimport命令mysqldump命令squid命令smbpasswd命令smbclient命令showmount命令sendmail命令ip命令arptables命令arpd命令squidclient命令iptables命令ip6tables-save命令ip6tables-restor命令ip6tables命令pfctl命令lnstat命令iptraf命令iptables-save命令iptables-restore命令tcpreplay命令tcpdump命令ss命令shutdown命令reboot命令poweroff命令halt命令ctrlaltdel命令restorecon命令getsebool命令chcon命令setsebool命令sesearch命令semanage命令seinfo命令xhost命令xclip命令xauth命令startx命令xlsfonts命令xlsclients命令xlsatoms命令xinit命令chpasswd命令chfn命令chage命令xset命令groupadd命令gpasswd命令finger命令chsh命令grpconv命令grpck命令groups命令groupmod命令groupdel命令newusers命令logname命令id命令grpunconv命令pwconv命令pwck命令passwd命令nologin命令userdel命令useradd命令su命令pwunconv命令atq命令at命令usermod命令ipcrm命令init命令crontab命令batch命令atrm命令nohup命令nice命令killall命令ipcs命令pkill命令pidof命令pgrep命令renice命令pstree命令ps命令pmap命令telint命令systemctl命令skill命令service命令runlevel命令alias命令watch命令w命令builtin命令bind命令bg命令apropos命令echo命令dris命令declare命令command命令export命令exit命令exec命令env命令enable命令history命令help命令fg命令fc命令read命令logout命令let命令kill命令jobs命令shopt命令sh命令set命令seq命令readonly命令ulimit命令type命令trap命令tput命令wait命令unset命令unalias命令cksum命令cal命令bc命令awk命令clear命令date命令consoletype命令clockdiff命令gpm命令dircolors命令hostid命令login命令info命令mesg命令md5sum命令man命令ngrep命令mtools命令ntpdate命令rsync命令pssh命令screen命令sum命令stty命令speedtest-cli命令sleep命令vdfuse命令users命令tempfile命令talk命令whoami命令who命令whatis命令wall命令dumpe2fs命令yes命令xargs命令write命令edquota命令e2label命令e2image命令e2fsck命令mkfs命令mke2fs命令fsck命令findfs命令quotaoff命令quotacheck命令quota命令mountpoint命令mount命令resize2fs命令repquota命令quotastats命令quotaon命令tune2fs命令sync命令swapon命令swapoff命令umount命令

dircolors命令

dircolors命令设置ls命令在显示目录或文件时所用的色彩。dircolors可根据[色彩配置文件]来设置LS_COLORS环境变量或是显示设置LS_COLORS环境变量的命令。

语法

dircolors(选项)(参数)

选项

-b或--sh或--bourne-shell:显示在Boume shell中,将LS_COLORS设为目前预设置的shell指令;
-c或--csh或--c-shell:显示在C shell中,将LS_COLORS设为目前预设置的shell指令;
-p或--print-database:显示预设置;
-help:显示帮助;
-version:显示版本信息。

参数

文件:指定用来设置颜色的文件。

实例

[root@localhost ~]# dircolors -p
# Configuration file for dircolors, a utility to help you set the
# LS_COLORS environment variable used by GNU ls with the --color option.
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
# slackware version of dircolors) are recognized but ignored.
# Below, there should be one TERM entry for each termtype that is colorizable
TERM linux
TERM linux-c
TERM mach-color
TERM console
TERM con132x25
TERM con132x30
TERM con132x43
TERM con132x60
TERM con80x25
TERM con80x28
TERM con80x30
TERM con80x43
TERM con80x50
TERM con80x60
TERM cygwin
TERM dtterm
TERM putty
TERM xterm
TERM xterm-color
TERM xterm-debian
TERM rxvt
TERM screen
TERM screen-bce
TERM screen-w
TERM vt100
TERM Eterm
# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
NORMAL 00 # global default, although everything should be something.
FILE 00 # normal file
DIR 01;34 # directory
LINK 01;36 # symbolic link. (If you set this to 'target' instead of a
 # numerical value, the color is as for the file pointed to.)
FIFO 40;33 # pipe
SOCK 01;35 # socket
DOOR 01;35 # door
BLK 40;33;01 # block device driver
CHR 40;33;01 # character device driver
ORPHAN 40;31;01 # symlink to nonexistent file
SETUID 37;41 # file that is setuid (u+s)
SETGID 30;43 # file that is setgid (g+s)
STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
# This is for files with execute permission:
exec 01;32
# List any file extensions like '.gz' or '.tar' that you would like ls
# to colorize below. Put the extension, a space, and the color init string.
# (and any comments you want to add after a '#')
# If you use DOS-style suffixes, you may want to uncomment the following:
#.cmd 01;32 # executables (bright green)
#.exe 01;32
#.com 01;32
#.btm 01;32
#.bat 01;32
.tar 01;31 # archives or compressed (bright red)
.tgz 01;31
.arj 01;31
.taz 01;31
.lzh 01;31
.zip 01;31
.z 01;31
.Z 01;31
.gz 01;31
.bz2 01;31
.deb 01;31
.rpm 01;31
.jar 01;31
# image formats
.jpg 01;35
.jpeg 01;35
.gif 01;35
.bmp 01;35
.pbm 01;35
.pgm 01;35
.ppm 01;35
.tga 01;35
.xbm 01;35
.xpm 01;35
.tif 01;35
.tiff 01;35
.png 01;35
.mov 01;35
.mpg 01;35
.mpeg 01;35
.avi 01;35
.fli 01;35
.gl 01;35
.dl 01;35
.xcf 01;35
.xwd 01;35
# audio formats
.flac 01;35
.mp3 01;35
.mpc 01;35
.ogg 01;35
.wav 01;35