GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OPENDIRCOLORS(1) FreeBSD General Commands Manual OPENDIRCOLORS(1)

opendircolors
Generate colors for ls(1)

opendircolors [-bch] file

The opendircolors utility reads the inputed file and generates values for LSCOLORS and LS_COLORS. This is a near drop in replacement for GNU's dircolors(1), except it does not contain -p or have any default values. If file is a single dash (‘-’) opendircolors reads from the standard input.

The options are as follows:

, --sh, --bourne-shell
Format the output for use with a bourne-shell.
, --csh, --c-shell
Format the output for use with csh(1) or tcsh(1).
, --help
 

The color string used for ls(1).
The color string for GNU ls(1) and various other utilities such as tree(1).

The opendircolors utility exits 0 on success, and >0 if an error occurs.

Add 'eval "`opendircolors ~/.dir_colors`"' to your .shrc to automatically set LSCOLORS and LS_COLORS.

dirconvert(1)

The dircolors(1) utility first appeared in GNU coreutils on Apr 29, 1996, written by H. Peter Anvin.
April 27, 2021 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.