蓝 色:文件夹 ,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. Wordpress无法连接Mysql8的问题

    安装了mysql 8.0.11 之后本地可以登录,但是远程第三方工具无法连接,本地安装的Wordpress在初始化时也连接失败.防火墙已经放通的, 解决之道: 首先登陆到mysql命令行: mysql ...

  2. 判断js数组包是否包含某个元素

    要判断数组中是否包含某个元素,从原理来来说,就是遍历整个数组,然后判断是否相等,我们来造个轮子,名字就山寨PHP的数组函数in_array() Array.prototype.in_array = f ...

  3. C#sql语句

    SQL语句大全删除数据库 drop database databasename SQL语句大全备份 --- 创建备份数据的 device USE master EXEC sp_addumpdevice ...

  4. MeasureSpec 的三中类型

    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools=&qu ...

  5. Ubuntu和centos离线安装软件包(apt和yum)

    linux安装软件包要解决包依赖问题,不能简单安装包本身. 离线安装基本思想都是先在一台设备上安装下载所有依赖包,然后拷贝所有依赖包到新设备上安装. Ubuntu下apt离线安装包 执行apt upd ...

  6. JS封装动画框架,网易轮播图,旋转轮播图

    JS封装动画框架,网易轮播图,旋转轮播图 1. JS封装运动框架 // 多个属性运动框架 添加回调函数 function animate(obj,json,fn) { clearInterval(ob ...

  7. hdoj:2044

    #include <iostream> using namespace std; long long fib(int n) { ; ; ) ; ) { long long f2 = f0 ...

  8. hdoj:2023

    #include <iostream> #include <string> #include <vector> ][],b[],c[]; using namespa ...

  9. CMS 01

    环境搭建 工具 sublime mysql 5.7, 数据库管理 Navicat django 1.10, django shell (可以用来检查错误) 操作系统, windows 7 搭建 dja ...

  10. 和我一起学Effective Java之创建和销毁对象

    前言 主要学习创建和销毁对象: 1.何时以及如何创建对象 2.何时以及如何避免创建对象 3.如何确保它们能够适时地销毁 4.如何管理对象销毁之前必须进行的清理动作 正文 一.用静态工厂方法代替构造器 ...