Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dircolors(1) [osx man page]

DIRCOLORS(1)							   User Commands						      DIRCOLORS(1)

NAME
dircolors - color setup for ls SYNOPSIS
dircolors [OPTION]... [FILE] DESCRIPTION
Output commands to set the LS_COLORS environment variable. Determine format of output: -b, --sh, --bourne-shell output Bourne shell code to set LS_COLORS -c, --csh, --c-shell output C shell code to set LS_COLORS -p, --print-database output defaults --help display this help and exit --version output version information and exit If FILE is specified, read it to determine which colors to use for which file types and extensions. Otherwise, a precompiled database is used. For details on the format of these files, run 'dircolors --print-database'. AUTHOR
Written by H. Peter Anvin. REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report dircolors translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
Full documentation at: <http://www.gnu.org/software/coreutils/dircolors> or available locally via: info '(coreutils) dircolors invocation' GNU coreutils 8.28 January 2018 DIRCOLORS(1)

Check Out this Related Man Page

DIRCOLORS(1)							   User Commands						      DIRCOLORS(1)

NAME
dircolors - color setup for ls SYNOPSIS
dircolors [OPTION]... [FILE] DESCRIPTION
Output commands to set the LS_COLORS environment variable. Determine format of output: -b, --sh, --bourne-shell output Bourne shell code to set LS_COLORS -c, --csh, --c-shell output C shell code to set LS_COLORS -p, --print-database output defaults --help display this help and exit --version output version information and exit If FILE is specified, read it to determine which colors to use for which file types and extensions. Otherwise, a precompiled database is used. For details on the format of these files, run `dircolors --print-database'. AUTHOR
Written by H. Peter Anvin. REPORTING BUGS
Report dircolors bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report dircolors translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for dircolors is maintained as a Texinfo manual. If the info and dircolors programs are properly installed at your site, the command info coreutils 'dircolors invocation' should give you access to the complete manual. GNU coreutils 8.5 February 2011 DIRCOLORS(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

bourne if, then, else

Hello, A quick, probably dumb question. I'm working on a program and i need to loop through several options. i'm currently doing a bunch of if then else's. i was wondering 2 things in unix (bourne) can i stack else's. 2 would i be better off just using case ie read line if then ... (2 Replies)
Discussion started by: Priest_Ridden
2 Replies

2. UNIX for Dummies Questions & Answers

OpenBSD: dircolors?

Hi, I'm wondering how I can get colors on the stuff that ls prints out in OpenBSD? //Maestin (4 Replies)
Discussion started by: Maestin
4 Replies

3. UNIX for Dummies Questions & Answers

Directory colors

Hey guys, When I used a Solaris box way back I had directory, file , symbolic link colors, etc... I can't seem to find the .dircolors file and how i set it up for bash on Solaris... anyone remember how to do it? Thanks! (2 Replies)
Discussion started by: kingdbag
2 Replies

4. Shell Programming and Scripting

How to print at a specific position of the display

Hi, How can I write a string in a specific position of the screen in a bourne shell? Regards, Elio (1 Reply)
Discussion started by: efernandes
1 Replies

5. Solaris

Help me to learn about shell script

Hello friends,:D I want to learn shell scripting in solaris .so any one pls help me to give a link (URL)to study scirpting. rgds, jay (13 Replies)
Discussion started by: rjay.com
13 Replies

6. UNIX for Dummies Questions & Answers

Colors

Is there a way with the bourne shell to have different types of files show up a different color when you do ls? (1 Reply)
Discussion started by: resullivan
1 Replies

7. Shell Programming and Scripting

How to format database output

I have an output from a database query on the unix standard output as under: abc dsagh dsflsfds dsfsdfsdfsd sdf sdfsd sdfsd sdfsdf sdfsdfs sdfsdf sdfsdf sdfsdf sdfsdf sdfsdf sdfsdff dsfsdf sdfdf sdf (8 Replies)
Discussion started by: abcabc1103
8 Replies

8. UNIX for Dummies Questions & Answers

Project with somewhat simple bourne shell cript..

Right now if I have a file that has the following information (with : as the delimiter) name :address :phone number I need to be able to do the following commands: -n search for a name -p search for a phone number -l search for a last name starting with a particular -c find an... (17 Replies)
Discussion started by: Generic
17 Replies

9. Shell Programming and Scripting

Bourne and decimals??

I need to get 15% of the variable exer1 to be added to other exercises so far, i've got exer1=$1 aver=`expr $exer \* .15` but i keep getting an error that an integer value was expected. Is there anyway around this? (1 Reply)
Discussion started by: kdyzsa
1 Replies

10. UNIX for Dummies Questions & Answers

Appending something to output before being written to a file

Hi, I'm quite stuck with what I thought should've been simple but I just can't seem to do it. Firstly, I have the following done in bourne shell: cat datafile | tr '' '' >> newfile echo "$fullfilepath" >> newfile i want to have the output of that echo put on the same line as the output... (4 Replies)
Discussion started by: Darkst
4 Replies

11. UNIX for Dummies Questions & Answers

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

12. Shell Programming and Scripting

Try to make a single line to syslog.

Hi again: Following the thread: https://www.unix.com/shell-programming-scripting/147755-format-lines-file.html I couldn't solve my problem, so I ask you again gurus: I have this code: nohup /usr/sbin/auditstream | /usr/sbin/auditselect -m -e "event== S_ENVIRON_WRITE || event==... (2 Replies)
Discussion started by: iga3725
2 Replies

13. Shell Programming and Scripting

Cutting Part of Output

Hello all I'm using bourne shell and need to figure out how to cut out a specific portion of some output. For example, my output from my command is: 12.12.52.125.in-addr.arpa name = hostname.domain.main.gov I need to get just the "hostname.domain.main.gov" part. What I'm trying... (9 Replies)
Discussion started by: lee.n.doan
9 Replies

14. Shell Programming and Scripting

convert date format

I've been using this thread: https://www.unix.com/shell-programming-scripting/58675-change-date-dd-mmm-yyyy-mm-dd-yyyy.html and https://www.unix.com/shell-programming-scripting/14655-changing-yyyy-mm-dd-ddmmyy.html and this code: on this format: 05/16/2008 18:30:49 Installation 48985and I'm... (3 Replies)
Discussion started by: dba_frog
3 Replies

15. Shell Programming and Scripting

pl help me to Optimize the given code

Pl help to me to write the below code in a simple way ... i suupose to use this code 3 to 4 places in my makefile(gnu) .. **************************************** @for i in $(LIST_A); do \ for j in $(LIST_B); do\ if ;then\ echo "Need to sign"\ echo "List A = $$i , List B =$$j"\ ... (2 Replies)
Discussion started by: pk_arun
2 Replies