蓝 色:文件夹 ,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. 12C -- 创建RMAN备份用户

    1.NON-CDB环境 SQL> create user backup_admin identified by backup_admin default tablespace users; SQ ...

  2. 从一道面试题来认识java类加载时机与过程【转】

    说明:本文的内容是看了<深入理解Java虚拟机:JVM高级特性与最佳实践>后为加印象和理解,便记录了重要的内容. 1  开门见山 以前曾经看到过一个java的面试题,当时觉得此题很简单,可 ...

  3. Android Launcher分析和修改11——自定义分页指示器(paged_view_indicator)

    Android4.0的Launcher自带了一个简单的分页指示器,就是Hotseat上面那个线段,这个本质上是一个ImageView利用.9.png图片做,效果实在是不太美观,用测试人员的话,太丑了. ...

  4. 【九天教您南方cass 9.1】02 从地形图上绘制纵横断面

    同学们大家好,欢迎收看由老王测量上班记出品的cass9.1视频课程, 测量空间的[九天教您南方cass]专栏是九天老师专门开设cass免费教学班.希望能帮助那些刚入行的同学,并祝您一臂之力. [点击索 ...

  5. Spark学习笔记——在远程机器中运行WordCount

    1.通过realy机器登录relay-shell ssh XXX@XXX 2.登录了跳板机之后,连接可以用的机器 XXXX.bj 3.在本地的idea生成好程序的jar包(word-count_2.1 ...

  6. 30分钟入门Java8之lambda表达式

    前言 Google在今年发布Android N开发者预览版,一并宣布开始支持Java 8.我们终于能在Android开发中使用到Java8的一些语言特性了.目前支持: 默认方法 lambda表达式 多 ...

  7. C#获取路径总结

    一.获取当前文件的路径 1.  System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName  获取模块的完整路径,包括文件名. ...

  8. JdbcTemplate in()传参

    1. 实体类 import java.util.List; public class Param { private List<String> names; private List< ...

  9. [转]ubuntu bits/predefs.h:没有那个文件或目录

    [转]ubuntu bits/predefs.h:没有那个文件或目录 (2012-04-28 10:09:38) 转载▼ 标签: it 分类: Linux In file included from ...

  10. MapReduce处理HBase出错:XXX.jar is not a valid DFS filename

    原因:Hadoop文件系统没有检查路径时没有区分是本地windows系统还是Hadoop集群文件系统 解决:  只需将Map和Reduce的init方法最后一个参数(boolean addDepend ...