English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
يستخدم الأمر dircolors في Linux لضبط الألوان التي يستخدمها الأمر ls عند عرض الدلائل أو الملفات.
dircolors يمكنه استخدام [ملف تكوين الألوان] لضبط متغير بيئة LS_COLORS أو عرض أوامر الشل لضبط متغير بيئة LS_COLORS.
dircolors [ملف تكوين الألوان]
أو
dircolors [-bcp][--help][--version]
شرح المعلمات:
عرض القيم الافتراضية
# dircolors -p //عرض القيم الافتراضية # ملف تكوين dircolors، هو برنامج يستخدم لمساعدتك في ضبط # متغير بيئي LS_COLORS المستخدم من قبل GNU ls مع خيار --color. # حقوق الطبع والنشر (C) 1996، 1999-2008 # Free Software Foundation, Inc. # نسخ وتوزيع هذا الملف، مع أو بدون تعديل، # مسموح بوجودها بشرط الحفاظ على إشعار حقوق الطبع والنشر و هذا الإشعار. # الكلمات المفتاحية COLOR، OPTIONS، وEIGHTBIT (مقدرة من قبل # إصدار slackware من dircolors) معترف به ولكن يتم تجاهله. # أدناه، يجب أن يكون هناك مدخل TERM لكل نوع termtype يمكن تلوينه TERM Eterm TERM ansi TERM color-xterm TERM con132x25 TERM con132x30 TERM con132x43 TERM con132x60 TERM con80x25 TERM con80x28 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: # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed # Text color codes: # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white # Background color codes: # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white #NORMAL 00 # no color code at all #FILE 00 # regular file: use no color at all RESET 0 # reset to “normal“ color DIR 01;34 # directory LINK 01;36 # symbolic link. (If you set this to 'target' instead of a # numerical value, the color is as for the file pointed to.) HARDLINK 44;37 # regular file with more than one link FIFO 40;33 # pipe SOCK 01;35 # socket DOOR 01;35 # door BLK 40;33;01 # block device driver CHR 40;33;01 # character device driver ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file SETUID 37;41 # ملف مع تعيين المستخدم (u+s) SETGID 30;43 # ملف مع تعيين المجموعة (g+s) CAPABILITY 30;41 # ملف به قدرة STICKY_OTHER_WRITABLE 30;42 # دليل صلابة وكتابة أخرى (+t,o+w) OTHER_WRITABLE 34;42 # دليل قابل للكتابة الآخر (o+w) وليس صلابة STICKY 37;44 # دليل مع قطعة الصلابة المفعلة (+t) وليس قابل للكتابة الآخر # هذا لملفات تحتوي على صلاحية التنفيذ: EXEC 01;32 # قم بتحديد أي امتدادات ملفات مثل '.gz' أو '.tar' التي ترغب في عرضها ls # لتلوين ما يلي.ضع التوسعة، فاصلة، وخطوة البدء باللون. # (و أي تعليقات ترغب في إضافتها بعد '#') # إذا كنت تستخدم سلاسل DOS-style، قد ترغب في تعطيل التعليق التالي: #.cmd 01;32 # ملفات التنفيذ (أخضر فاتح) #.exe 01;32 #.com 01;32 #.btm 01;32 #.bat 01;32 # أو إذا كنت ترغب في تلوين السكريبات حتى لو لم يكن لديها # تم تعيين قطعة التنفيذ بالفعل. #.sh 01;32 #.csh 01;32 # الأرشيف أو المضغوط (أحمر فاتح) .tar 01;31 .pcx 01;35 .mov 01;35 .mpg 01;35 .mpeg 01;35 .m2v 01;35 .mkv 01;35 .ogm 01;35 .mp4 01;35 .m4v 01;35 .mp4v 01;35 .vob 01;35 .qt 01;35 .nuv 01;35 .wmv 01;35 .asf 01;35 .rm 01;35 .rmvb 01;35 .flc 01;35 .avi 01;35 .fli 01;35 .flv 01;35 .gl 01;35 .dl 01;35 .xcf 01;35 .xwd 01;35 .yuv 01;35 # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions .axv 01;35 .anx 01;35 .ogv 01;35 .ogx 01;35 # صيغ الصوت .aac 00;36 .au 00;36 .flac 00;36 .mid 00;36 .midi 00;36 .mka 00;36 .mp3 00;36 .mpc 00;36 .ogg 00;36 .ra 00;36 .wav 00;36 # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions .axa 00;36 .oga 00;36 .spx 00;36 .xspf 00;36