Linux/ANSI C/C++/Perl/Python
自由的心,永远飞翔...
 默认的ls 显示目录颜色为蓝色,在暗背景下难以看清。现介绍将目录颜色改为浅兰的方法:

将/etc/DIR_COLORS文件cp到~/下,并改名为.dir_colors,搜索DIR,将其改为01;36(原来为01;34),重新打开term即可。


1# Configuration file for the color ls utility
2# This file goes in the /etc directory, and must be world readable.
3# You can copy this file to .dir_colors in your $HOME directory to override
4# the system defaults.
5
6# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
7# pipes. 'all' adds color characters to all output. 'none' shuts colorization
8# off.
9 COLOR tty
10
11# Extra command line options for ls go here.
12# Basically these ones are:
13# -F = show '/' for dirs, '*' for executables, etc.
14# -T 0 = don't trust tab spacing when formatting ls output.
15 OPTIONS -F -T 0
16
17# Below, there should be one TERM entry for each termtype that is colorizable
18TERM linux
19TERM console
20TERM con132x25
21TERM con132x30
22TERM con132x43
23TERM con132x60
24TERM con80x25
25TERM con80x28
26TERM con80x30
27TERM con80x43
28TERM con80x50
29TERM con80x60
30TERM cons25
31TERM xterm
32TERM rxvt
33TERM xterm-color
34TERM color-xterm
35TERM vt100
36TERM dtterm
37TERM color_xterm
38TERM ansi
39TERM screen
40TERM screen.linux
41TERM kon
42TERM kterm
43TERM gnome
44TERM konsole
45
46# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
47 EIGHTBIT 1
48
49# Below are the color init strings for the basic file types. A color init
50# string consists of one or more of the following numeric codes:
51# Attribute codes:
52# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
53# Text color codes:
54# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
55# Background color codes:
56# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
57NORMAL00# global default, although everything should be something.
58FILE00# normal file
59DIR 01;36 # directory
60LINK 01;36 # symbolic link
61FIFO 40;33 # pipe
62SOCK 01;35 # socket
63BLK 40;33;01 # block device driver
64CHR 40;33;01 # character device driver
65ORPHAN 01;05;37;41 # orphaned syminks
66MISSING 01;05;37;41 # ... and the files they point to
67
68# This is for files with execute permission:
69EXEC 01;32
70
71# List any file extensions like '.gz' or '.tar' that you would like ls
72# to colorize below. Put the extension, a space, and the color init string.
73# (and any comments you want to add after a '#')
74.cmd 01;32 # executables (bright green)
75.exe 01;32
76.com 01;32
77.btm 01;32
78.bat 01;32
79.sh 01;32
80.csh 01;32
81.tar 01;31 # archives or compressed (bright red)
82.tgz 01;31
83.arj 01;31
84.taz 01;31
85.lzh 01;31
86.zip 01;31
87.z 01;31
88.Z 01;31
89.gz 01;31
90.bz2 01;31
91.bz 01;31
92.tz 01;31
93.rpm 01;31
94.cpio 01;31
95.jpg 01;35 # image formats
96.gif 01;35
97.bmp 01;35
98.xbm 01;35
99.xpm 01;35
100.png 01;35
101.tif 01;35



posted on 2006-09-03 14:05 我心飞翔 阅读(2519) 评论(140)  编辑 收藏 引用 所属分类: Linux
评论共2页: 1 2 
Comments
  • # premarin
    premarin
    Posted @ 2008-05-06 13:37
    Noble life demands a noble architecture for noble uses of noble men. Lack of culture means what it has always meant: ignoble civilization and therefore imminent downfall.  回复  更多评论   
  • # lansoprazole
    lansoprazole
    Posted @ 2008-05-06 13:44
    Be sincere; be brief; be seated.  回复  更多评论   
  • # buy amoxicillin
    buy amoxicillin
    Posted @ 2008-05-06 13:50
    When you have got an elephant by the hind leg, and he is trying to run away, it's best to let him run.  回复  更多评论   
  • # imovane
    imovane
    Posted @ 2008-05-06 13:52
    You can have it all. You just can't have it all at once.  回复  更多评论   
  • # cozaar
    cozaar
    Posted @ 2008-05-06 17:12
    There is no such thing as an underestimate of average intelligence.  回复  更多评论   
  • # fioricet online
    fioricet online
    Posted @ 2008-05-06 17:13
    Deeds, not words shall speak me.  回复  更多评论   
  • # buy cialis online
    buy cialis online
    Posted @ 2008-05-06 21:12
    We learn something every day, and lots of times it's that what we learned the day before was wrong.  回复  更多评论   
  • # xenical online
    xenical online
    Posted @ 2008-05-06 21:13
    Most folks are about as happy as they make up their minds to be.  回复  更多评论   
  • # buy viagra online
    buy viagra online
    Posted @ 2008-05-07 02:21
    To repeat what others have said, requires education; to challenge it, requires brains.  回复  更多评论   
  • # cetirizine quickness follicular
    cetirizine quickness follicular
    Posted @ 2008-05-07 02:23
    Winning is important to me, but what brings me real joy is the experience of being fully engaged in whatever I'm doing.  回复  更多评论   
  • # meridia
    meridia
    Posted @ 2008-05-07 07:43
    O Lord, help me to be pure, but not yet.  回复  更多评论   
  • # cozaar
    cozaar
    Posted @ 2008-05-07 07:44
    If men could only know each other, they would neither idolize nor hate.  回复  更多评论   
  • # generic prevacid re interleaving
    generic prevacid re interleaving
    Posted @ 2008-05-07 11:52
    I never think of the future - it comes soon enough.  回复  更多评论   
  • # cheap hydrocodone clasp multivector
    cheap hydrocodone clasp multivector
    Posted @ 2008-05-07 15:17
    Life is a great big canvas; throw all the paint on it you can.  回复  更多评论   
  • # generic hydrocodone
    generic hydrocodone
    Posted @ 2008-05-07 19:19
    My home is not a place, it is people.  回复  更多评论   
  • # generic hydrocodone
    generic hydrocodone
    Posted @ 2008-05-07 23:12
    The radical of one century is the conservative of the next. The radical invents the views. When he has worn them out the conservative adopts them.  回复  更多评论   
  • # generic zoloft
    generic zoloft
    Posted @ 2008-05-08 02:44
    My grandmother started walking five miles a day when she was sixty. She's ninety-seven now, and we don't know where the hell she is.  回复  更多评论   
  • # buy carisoprodol
    buy carisoprodol
    Posted @ 2008-05-08 08:06
    You should not live one way in private, another in public.  回复  更多评论   
  • # retin
    retin
    Posted @ 2008-05-08 11:50
    Failures are finger posts on the road to achievement.  回复  更多评论   
  • # generic prilosec
    generic prilosec
    Posted @ 2008-05-08 11:53
    Sometimes love will pick you up by the short hairs...and jerk the heck out of you.  回复  更多评论   
  • # order cialis
    order cialis
    Posted @ 2008-05-08 15:08
    In America, they want you to accomplish these great feats, to pull off these David Copperfield-type stunts. You want me to be great, but you don't ever want me to say I'm great?  回复  更多评论   
  • # order soma online
    order soma online
    Posted @ 2008-05-08 18:45
    Listen. Do not have an opinion while you listen because frankly, your opinion doesn?t hold much water outside of Your Universe. Just listen. Listen until their brain has been twisted like a dripping towel and what they have to say is all over the floor.  回复  更多评论   
  • # meridia
    meridia
    Posted @ 2008-05-08 18:47
    My home is not a place, it is people.  回复  更多评论   
  • # amlodipine advertizing agnation
    amlodipine advertizing agnation
    Posted @ 2008-05-08 22:37
    Be thou the first true merit to befriend, his praise is lost who stays till all commend.  回复  更多评论   
  • # diazepam
    diazepam
    Posted @ 2008-05-08 22:38
    There is nothing more demoralizing than a small but adequate income.  回复  更多评论   
  • # buy carisoprodol
    buy carisoprodol
    Posted @ 2008-05-09 02:48
    If you scatter thorns, don't go barefoot.  回复  更多评论   
  • # cipro
    cipro
    Posted @ 2008-05-09 07:17
    Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking.  回复  更多评论   
  • # esgic
    esgic
    Posted @ 2008-05-09 07:19
    When a thing ceases to be a subject of controversy, it ceases to be a subject of interest.  回复  更多评论   
  • # cephalexin aboiteau baneberry
    cephalexin aboiteau baneberry
    Posted @ 2008-05-09 10:31
    Because we don't think about future generations, they will never forget us.  回复  更多评论   
  • # buy ultram online
    buy ultram online
    Posted @ 2008-05-09 10:39
    If there is one thing worse than being an ugly duckling in a house of swans, it's having the swans pretend there's no difference.  回复  更多评论   
  • # generic prevacid
    generic prevacid
    Posted @ 2008-05-09 18:31
    O Lord, help me to be pure, but not yet.  回复  更多评论   
  • # purchase viagra
    purchase viagra
    Posted @ 2008-05-09 18:37
    Like anyone else, there are days I feel beautiful and days I don't, and when I don't, I do something about it.  回复  更多评论   
  • # zyrtec
    zyrtec
    Posted @ 2008-05-09 22:31
    Forget injuries, never forget kindnesses.  回复  更多评论   
  • # azithromycin
    azithromycin
    Posted @ 2008-05-10 02:17
    After I'm dead I'd rather have people ask why I have no monument than why I have one.  回复  更多评论   
  • # cheap hydrocodone
    cheap hydrocodone
    Posted @ 2008-05-10 02:24
    Forget injuries, never forget kindnesses.  回复  更多评论   
  • # trazodone
    trazodone
    Posted @ 2008-05-10 06:01
    Whatever you do, do it to the purpose; do it thoroughly, not superficially. Go to the bottom of things. Any thing half done, or half known, is in my mind, neither done nor known at all. Nay, worse, for it often misleads.  回复  更多评论   
  • # sumatriptan
    sumatriptan
    Posted @ 2008-05-10 06:02
    The man who has nothing to boast of but his illustrious ancestry is like the potato - the best part under ground.  回复  更多评论   
  • # losartan
    losartan
    Posted @ 2008-05-10 09:47
    Treat all disasters as if they were trivialities but never treat a triviality as if it were a disaster.  回复  更多评论   
  • # lisinopril
    lisinopril
    Posted @ 2008-05-10 09:54
    Beginning today, treat everyone you meet as if they were going to be dead by midnight. Extend them all the care, kindness and understanding you can muster. Your life will never be the same again.  回复  更多评论   
  • # fosamax
    fosamax
    Posted @ 2008-05-10 09:55
    I respect faith, but doubt is what gets you an education.  回复  更多评论   
  • # norco
    norco
    Posted @ 2008-05-10 09:59
    The dead might as well try to speak to the living as the old to the young.  回复  更多评论   
  • # order phentermine
    order phentermine
    Posted @ 2008-05-10 13:26
    Feet, why do I need them if I have wings to fly?  回复  更多评论   
  • # buy alprazolam online
    buy alprazolam online
    Posted @ 2008-05-10 13:27
    You always pass failure on the way to success.  回复  更多评论   
  • # buy xanax online divisible afsd
    buy xanax online divisible afsd
    Posted @ 2008-05-10 17:59
    The reason grandparents and grandchildren get along so well is that they have a common enemy.  回复  更多评论   
  • # buy adipex
    buy adipex
    Posted @ 2008-05-10 18:00
    Real love is a permanently self-enlarging experience.  回复  更多评论   
  • # alendronate
    alendronate
    Posted @ 2008-05-10 18:03
    Life isn't fair. It's just fairer than death, that's all.  回复  更多评论   
  • # generic prevacid
    generic prevacid
    Posted @ 2008-05-10 21:39
    So little time and so little to do.  回复  更多评论   
  • # cheap soma
    cheap soma
    Posted @ 2008-05-10 21:40
    There is no end to the adventures that we can have if only we seek them with our eyes open.  回复  更多评论   
  • # buy cialis
    buy cialis
    Posted @ 2008-05-10 21:47
    It is not enough to aim; you must hit.  回复  更多评论   
  • # buy soma focus crumple
    buy soma focus crumple
    Posted @ 2008-05-10 21:52
    Vegetarianism is harmless enough, though it is apt to fill a man with wind and self-righteousness.  回复  更多评论   
  • # phentermine online
    phentermine online
    Posted @ 2008-05-10 21:53
    Set all things in their own peculiar place, and know that order is the greatest grace.  回复  更多评论   
  • # cheap adipex
    cheap adipex
    Posted @ 2008-05-11 01:09
    If our early lessons of acceptance were as successful as our early lessons of anger, how much happier we would all be.  回复  更多评论   
  • # lorcet
    lorcet
    Posted @ 2008-05-11 01:12
    It is not enough to aim; you must hit.  回复  更多评论   
  • # buy prozac
    buy prozac
    Posted @ 2008-05-11 01:12
    What's the earth With all its art, verse, music, worth - Compared with love, found, gained, and kept?  回复  更多评论   
  • # vicodin online
    vicodin online
    Posted @ 2008-05-11 04:42
    Our patience will achieve more than our force.  回复  更多评论   
  • # fluconazole
    fluconazole
    Posted @ 2008-05-11 17:54
    We are what we repeatedly do.  回复  更多评论   
  • # tenormin
    tenormin
    Posted @ 2008-05-12 00:54
    The whole dream of democracy is to raise the proletarian to the level of stupidity attained by the bourgeois.  回复  更多评论   
  • # tenormin
    tenormin
    Posted @ 2008-05-12 04:24
    Bear in mind that you should conduct yourself in life as at a feast.  回复  更多评论   
  • # cheap levitra
    cheap levitra
    Posted @ 2008-05-12 04:25
    You can't separate peace from freedom because no one can be at peace unless he has his freedom.  回复  更多评论   
  • # vardenafil
    vardenafil
    Posted @ 2008-05-12 08:25
    Confidence is the sexiest thing a woman can have. It's much sexier than any body part.  回复  更多评论   
  • # order xenical
    order xenical
    Posted @ 2008-05-12 08:27
    Nothing in the world can take the place of Persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination alone are omnipotent. The slogan 'Press On' has solved and always will solve the problems of the human race.  回复  更多评论   
  • # buy diazepam
    buy diazepam
    Posted @ 2008-05-12 11:33
    Happiness is not a station you arrive at, but a manner of traveling.  回复  更多评论   
  • # danazol
    danazol
    Posted @ 2008-05-12 21:49
    There is an applause superior to that of the multitudes: one's own.  回复  更多评论   
  • # buy levitra online
    buy levitra online
    Posted @ 2008-05-12 21:50
    Howard Hughes was able to afford the luxury of madness, like a man who not only thinks he is Napoleon but hires an army to prove it.  回复  更多评论   
  • # generic zocor
    generic zocor
    Posted @ 2008-05-12 21:53
    There are admirable potentialities in every human being. Believe in your strength and your youth. Learn to repeat endlessly to yourself, 'It all depends on me.'  回复  更多评论   
  • # generic viagra online
    generic viagra online
    Posted @ 2008-05-12 22:00
    Nothing is so good for an ignorant man as silence; and if he was sensible of this he would not be ignorant.  回复  更多评论   
  • # penality
    penality
    Posted @ 2008-05-12 22:03
    Bacchus hath drowned more men than Neptune.  回复  更多评论   
  • # unsheathed
    unsheathed
    Posted @ 2008-05-12 22:04
    Time is that quality of nature which keeps events from happening all at once. Lately it doesn't seem to be working.  回复  更多评论   
  • # zyrtec
    zyrtec
    Posted @ 2008-05-13 02:36
    I define comfort as self-acceptance. When we finally learn that self-care begins and ends with ourselves, we no longer demand sustenance and happiness from others.  回复  更多评论   
  • # naprosyn
    naprosyn
    Posted @ 2008-05-13 06:07
    Repetition does not transform a lie into a truth.  回复  更多评论   
  • # diazepam online
    diazepam online
    Posted @ 2008-05-13 09:54
    From the moment I picked up your book until I laid it down, I was convulsed with laughter. Some day I intend reading it.  回复  更多评论   
  • # generic prevacid
    generic prevacid
    Posted @ 2008-05-13 10:02
    Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.  回复  更多评论   
  • # generic effexor
    generic effexor
    Posted @ 2008-05-14 02:07
    There is a tragic flaw in our precious Constitution, and I don't know what can be done to fix it. This is it: Only nut cases want to be president.  回复  更多评论   
  • # fexofenadine
    fexofenadine
    Posted @ 2008-05-14 02:08
    Plans are only good intentions unless they immediately degenerate into hard work.  回复  更多评论   
  • # zolpidem
    zolpidem
    Posted @ 2008-05-15 14:05
    Meetings are indispensable when you don't want to do anything.  回复  更多评论   
  • # generic soma
    generic soma
    Posted @ 2008-05-15 14:07
    Do something every day that you don't want to do; this is the golden rule for acquiring the habit of doing your duty without pain.  回复  更多评论   
  • # buy vicodin
    buy vicodin
    Posted @ 2008-05-15 14:09
    We are inclined to believe those whom we do not know because they have never deceived us.  回复  更多评论   
  • # zopiclone
    zopiclone
    Posted @ 2008-05-15 14:12
    Money frees you from doing things you dislike. Since I dislike doing nearly everything, money is handy.  回复  更多评论   
  • # cipralex
    cipralex
    Posted @ 2008-05-15 14:13
    An idealist is one who, on noticing that a rose smells better than a cabbage, concludes that it will also make better soup.  回复  更多评论   
  • # buy viagra
    buy viagra
    Posted @ 2008-05-15 14:13
    Mediocrity knows nothing higher than itself, but talent instantly recognizes genius.  回复  更多评论   
  • # celecoxib
    celecoxib
    Posted @ 2008-05-15 14:15
    Love is the triumph of imagination over intelligence.  回复  更多评论   
  • # trazodone
    trazodone
    Posted @ 2008-05-15 14:16
    The ornament of a house is the friends who frequent it.  回复  更多评论   
  • # bisacodyl
    bisacodyl
    Posted @ 2008-05-15 14:23
    Hearing voices no one else can hear isn't a good sign, even in the wizarding world.  回复  更多评论   
  • # peccavi
    peccavi
    Posted @ 2008-05-15 14:24
    If you aren't fired with enthusiasm, you will be fired with enthusiasm.  回复  更多评论   
  • # obsolescent
    obsolescent
    Posted @ 2008-05-15 14:28
    The aim of life is self-development. To realize one's nature perfectly - that is what each of us is here for.  回复  更多评论   
  • # unkempt
    unkempt
    Posted @ 2008-05-15 14:29
    If one morning I walked on top of the water across the Potomac River, the headline that afternoon would read "President Can't Swim".  回复  更多评论   
  • # suggested
    suggested
    Posted @ 2008-05-15 14:32
    The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier.  回复  更多评论   
  • # zukzihfq
    zukzihfq
    Posted @ 2008-05-15 21:14
    yczmnvwi http://hxwrirbb.com hdedwwrg mjrmjpsq [URL=http://zvujtour.com]qnezbloz[/URL] <a href="http://wgbiznou.com">cirzgsvi</a>   回复  更多评论   
  • # buy fioricet online
    buy fioricet online
    Posted @ 2008-05-16 03:03
    When the gods wish to punish us, they answer our prayers.  回复  更多评论   
  • # order soma online
    order soma online
    Posted @ 2008-05-18 00:01
    We owe something to extravagance, for thrift and adventure seldom go hand in hand.  回复  更多评论   
  • # tadalafil
    tadalafil
    Posted @ 2008-05-20 02:17
    I find television very educating. Every time somebody turns on the set, I go into the other room and read a book.  回复  更多评论   
  • # generic ambien
    generic ambien
    Posted @ 2008-05-20 02:18
    Time is on the side of the oppressed today, it's against the oppressor. Truth is on the side of the oppressed today, it's against the oppressor. You don't need anything else.  回复  更多评论   
  • # cheap valium
    cheap valium
    Posted @ 2008-05-22 09:19
    It is only possible to live happily ever after on a day-to-day basis.  回复  更多评论   
  • # generic prozac
    generic prozac
    Posted @ 2008-05-22 09:25
    Absolute faith corrupts as absolutely as absolute power.  回复  更多评论   
  • # tylenol
    tylenol
    Posted @ 2008-05-24 11:28
    You must not lose faith in humanity. Humanity is an ocean; if a few drops of the ocean are dirty, the ocean does not become dirty.  回复  更多评论   
  • # lortab
    lortab
    Posted @ 2008-05-26 13:46
    Never despair; but if you do, work on in despair.  回复  更多评论   
  • # generic cialis online
    generic cialis online
    Posted @ 2008-05-26 13:46
    It is better to offer no excuse than a bad one.  回复  更多评论   
  • # escitalopram
    escitalopram
    Posted @ 2008-05-28 15:49
    Glory is fleeting, but obscurity is forever.  回复  更多评论   
  • # generic hydrocodone
    generic hydrocodone
    Posted @ 2008-05-30 17:23
    Not everything that can be counted counts, and not everything that counts can be counted.  回复  更多评论   
  • # generic viagra online
    generic viagra online
    Posted @ 2008-06-01 17:30
    The meeting of two personalities is like the contact of two chemical substances: if there is any reaction, both are transformed.  回复  更多评论   
评论共2页: 1 2 

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理