蓝 色:文件夹 ,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. 查看最新的Google地址

    nslookup www.google.com 8.8.8.8

  2. xcode 编译或者打包的时候 找不到图片的错误

    进入app路径,copy一份图片进去就好了

  3. 11G新特性 -- OLTP Table Compression

    之前的版本中,只能在批量加载操作时,比如direct load.create table as select 操作,才能压缩数据.在dml操作期间是无法压缩数据的. 在11g中,oracle将表压缩扩 ...

  4. 何为编码 GBK 和 UTF8编码?GBK,GB2312与区位码有何关系?

    何为GBK,何为GB2312,与区位码有何渊源? 区位码是早些年(1980)中国制定的一个编码标准,如果有玩过小霸王学习机的话,应该会记得有个叫做“区位”的输入法(没记错的话是按F4选择).就是打四个 ...

  5. Shell函数的7种用法介绍

    1. 在shell文件内部定义函数并引用: 复制代码代码如下: [~/shell/function]# cat factorial.sh #!/bin/bashfunction factorial{f ...

  6. openfire开发文档

    http://www.blogjava.net/yi88han/archive/2009/02/11/254203.html

  7. TEST DESIGN TECHNIQUES: AN OVERVIEW

    TEST DESIGN TECHNIQUES: AN OVERVIEW -Test note of “Essential Software Test Design” 2015-11-16 目录: 7. ...

  8. 【Ubuntu】PHP环境安装-phpstudy for linux版

    安装: wget -c http://lamp.phpstudy.net/phpstudy.bin chmod +x phpstudy.bin    #权限设置sudo ./phpstudy.bin ...

  9. Android Launcher分析和修改2——Icon修改、界面布局调整、壁纸设置

    上一篇文章说了如何修改Android自带Launcher2的默认界面设置(http://www.cnblogs.com/mythou/p/3153880.html). 今天主要是说说Launcher里 ...

  10. 解剖 Elasticsearch 集群 - 之一

    解剖 Elasticsearch 集群 - 之一 本篇文章是一系列涵盖 Elasticsearch 底层架构和原型示例的其中一篇.在本篇文章中,我们会讨论底层的存储模型以及 CRUD(创建.读取.更新 ...