蓝 色:文件夹 ,ls -l或ll时可以看到权限部分的第1个字母是d
红色:压缩文件  
绿色:可执行文件,包括jar
白色:文本文件
红色闪烁:错误的符号链接
淡蓝色:符号链接
黄色:设备文件
灰色:其它文件

可以用

dircolors -p

命令查看

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.
# Copyright (C) , -
# Free Software Foundation, Inc.
# Copying and distribution of this file, with or without modification,
# are permitted provided the copyright notice and this notice are preserved.
# 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 Eterm
TERM ansi
TERM color-xterm
TERM con132x25
TERM con132x30
TERM con132x43
TERM con132x60
TERM con80x25
TERM con80x28
TERM con80x30
TERM con80x43
TERM con80x50
TERM con80x60
TERM cons25
TERM console
TERM cygwin
TERM dtterm
TERM eterm-color
TERM gnome
TERM gnome-256color
TERM jfbterm
TERM konsole
TERM kterm
TERM linux
TERM linux-c
TERM mach-color
TERM mlterm
TERM putty
TERM rxvt
TERM rxvt-cygwin
TERM rxvt-cygwin-native
TERM rxvt-unicode
TERM screen
TERM screen-256color
TERM screen-bce
TERM screen-w
TERM screen.linux
TERM vt100
TERM xterm
TERM xterm-16color
TERM xterm-256color
TERM xterm-88color
TERM xterm-color
TERM xterm-debian
# 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:
# =none =bold =underscore =blink =reverse =concealed
# Text color codes:
# =black =red =green =yellow =blue =magenta =cyan =white
# Background color codes:
# =black =red =green =yellow =blue =magenta =cyan =white
#NORMAL # no color code at all
#FILE # regular file: use no color at all
RESET # reset to "normal" color
DIR ;34 # directory
LINK ;36 # symbolic link. (If you set this to 'target' instead of a
# numerical value, the color is as for the file pointed to.)
HARDLINK ;37 # regular file with more than one link
FIFO ;33 # pipe
SOCK ;35 # socket
DOOR ;35 # door
BLK ;33;01 # block device driver
CHR ;33;01 # character device driver
ORPHAN ;31;01 # symlink to nonexistent file, or non-stat'able file
SETUID ;41 # file that is setuid (u+s)
SETGID ;43 # file that is setgid (g+s)
CAPABILITY ;41 # file with capability
STICKY_OTHER_WRITABLE ;42 # dir that is sticky and other-writable (+t,o+w)
OTHER_WRITABLE ;42 # dir that is other-writable (o+w) and not sticky
STICKY ;44 # dir with the sticky bit set (+t) and not other-writable
# This is for files with execute permission:
EXEC ;
# 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 ;32 # executables (bright green)
#.exe ;
#.com ;
#.btm ;
#.bat ;
# Or if you want to colorize scripts even if they do not have the
# executable bit actually set.
#.sh ;
#.csh ;
# archives or compressed (bright red)
.tar ;
.tgz ;
.arj ;
.taz ;
.lzh ;
.lzma ;
.zip ;
.z ;
.Z ;
.dz ;
.gz ;
.bz2 ;
.bz ;
.tbz2 ;
.tz ;
.deb ;
.rpm ;
.jar ;
.rar ;
.ace ;
.zoo ;
.cpio ;
.7z ;
.rz ;
# image formats
.jpg ;
.jpeg ;
.gif ;
.bmp ;
.pbm ;
.pgm ;
.ppm ;
.tga ;
.xbm ;
.xpm ;
.tif ;
.tiff ;
.png ;
.svg ;
.svgz ;
.mng ;
.pcx ;
.mov ;
.mpg ;
.mpeg ;
.m2v ;
.mkv ;
.ogm ;
.mp4 ;
.m4v ;
.mp4v ;
.vob ;
.qt ;
.nuv ;
.wmv ;
.asf ;
.rm ;
.rmvb ;
.flc ;
.avi ;
.fli ;
.flv ;
.gl ;
.dl ;
.xcf ;
.xwd ;
.yuv ;
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
.axv ;
.anx ;
.ogv ;
.ogx ;
# audio formats
.aac ;
.au ;
.flac ;
.mid ;
.midi ;
.mka ;
.mp3 ;
.mpc ;
.ogg ;
.ra ;
.wav ;
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
.axa ;
.oga ;
.spx ;
.xspf ;

Ubuntu系统中各种文件颜色的含义的更多相关文章

  1. 在Debian/Ubuntu系统中安装*.sh与*.bin文件

    在Debian/Ubuntu系统中安装*.sh与*.bin文件的基本方法.一,安装*.sh文件运行命令行至文件目录下,执行:sudo sh *.sh直接运行在命令行中执行:sudo chmod +x ...

  2. Ubuntu系统中登陆阿里云服务器的方法

    如果您购买了阿里云服务器,恰巧又在使用Ubuntu操作系统,那么恭喜你来对地方了,今天给大家分享一下如何在Ubuntu中登陆阿里云服务器: 主要使用两款软件:1.SecureCRT:2.SecureF ...

  3. linux(七)之linux系统中查找文件

    前面介绍一篇文章介绍了关于vi编辑器的使用,感觉是不是那么多的命令怎么记得住呀,小编也是这样让认为的,但是慢慢的发现,其实还是很有意思的.正所谓熟能生巧多练习,找到其中的规律就ok了.今天看到一句话让 ...

  4. 在 Ubuntu 系统中部署 Git Server

    http://blog.csdn.NET/poisonchry/article/details/11849781 虽然有很多开源的Git仓库,不过并非所有都尽人意,譬如Github,Gitlab等,不 ...

  5. linux系统中的文件权限详解(转)

    一.在<Linux系统中如何查看文件属性>中介绍了通过ls指令来查看文件的属性,具体如下: [命令] letuknowit@ubuntu:/$ cd /tmp letuknowit@ubu ...

  6. ubuntu系统中查看本机cpu和内存信息的命令和用法

    https://zhidao.baidu.com/question/192966322.html 写出ubuntu linux系统中查看本机cpu和内存信息的命令和用法,以及如何解读这些命令 ubun ...

  7. 手把手教你如何在Ubuntu系统中安装Pycharm

    前几天带大家一起安装了Ubuntu14.04系统,没来得及上车的伙伴可以戳这篇文章:手把手教你在VMware虚拟机中安装Ubuntu14.04系统.今天小编带大家一起在Ubuntu14.04中安装Py ...

  8. Ubuntu系统中创建虚拟环境

    1.虚拟环境产生的原因:如果在一台电脑上, 想开发多个不同的项目, 需要用到同一个包的不同版本, 如果使用上面的命令, 在同一个目录下安装或者更新, 新版本会覆盖以前的版本, 其它的项目就无法运行了. ...

  9. 用adb pull命令从android系统中读取文件失败的原因及解决办法

    问题:使用adb pull命令从android系统中读取文件失败.显示:Permission denied   原因:是由于文件权限原因引起.       使用ls -l命令查看android系统中的 ...

随机推荐

  1. dup2替换

    今天看APUE上一道题,要求不能用fcnt1来替换dup1. 刚开始的思路是dup一个,测试发现与期望的不一致就马上关闭,发现遇到无限循环,刚才想了下,才发现一旦close掉,再次dup仍然是分配最小 ...

  2. 你真的了解Python吗 ---Python的内存管理

    请看下面的一段代码: origin = {'a':100,'b':[1,2,34,5]} obj_copy ={}; print origin; obj_copy['key1']= origin; o ...

  3. google全球地址

    IP Addresses of Google Global Cache www.kookle.co.nr Bulgaria 93.123.23.1 93.123.23.2 93.123.23.3 93 ...

  4. 1 翻译系列:什么是Code First(EF 6 Code First 系列)

    原文链接:http://www.entityframeworktutorial.net/code-first/what-is-code-first.aspx EF 6 Code-First系列文章目录 ...

  5. R8500 MPv2 版本 刷 Kong编译的 ddwrt 后,使用Entware-ng 安装opkg安装第三方软件

    先说R8500吧. 由于Netgear网件的问题导致R8500在去年双11前夕出现了全球范围的Boot Loop的问题,现象为新设备开机一段时间后,路由器进入不停重启的状态,电源灯桔黄色.在和网件工程 ...

  6. linux 重启和关机

    重启命令有:reboot,  shutdown -ry 0关机命令有:poweroff, shutdown -hy 0

  7. 【Java】浅谈HashMap

    HashMap是常用的集合类,以Key-Value形式存储值.下面一起从代码层面理解它的实现. 构造方法 它有好几个构造方法,但几乎都是调此构造方法: public HashMap(int initi ...

  8. 在webpack中使用postcss-px2rem的

    经过一番折腾重要搞定了. 首先需要安装postcss-plugin-px2rem. npm install --save-dev postcss-plugin-px2rem 我的webpack工程中没 ...

  9. oracle 11g rac asm磁盘组增加硬盘

    要增加磁盘的磁盘组为:DATA 要增加的磁盘为: /dev/sde1 在第一个节点上:[root@rac1 ~]# fdisk /dev/sdeDevice contains neither a va ...

  10. 【WPF】ListBox GridViewColumn Header 文字换行、文字多行显示

    ListBox GridViewColumn Header 文字换行.文字多行显示,在Header中需要换行的地方写 <GridViewColumn Header="空间另存 为总量& ...