Visit Our UNIX and Linux User Community


OpenBSD: dircolors?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers OpenBSD: dircolors?
# 1  
Old 05-12-2002
OpenBSD: dircolors?

Hi, I'm wondering how I can get colors on the stuff that ls prints out in OpenBSD?

//Maestin
# 2  
Old 05-12-2002
Assuming you're using bash (and a color terminal!)

Add to ~/.bash_profile:

alias ls="ls --color=tty"

You may have to set up an $LS_COLORS variable, but try that first to see if you really need one...
# 3  
Old 05-13-2002
That doesn't work.. probably I dont use a color terminal..

I use 'ansi'.. what should I assign to the $LS_COLORS variable?

//Maestin
# 4  
Old 05-13-2002
Hmm, TERM=ansi...
It sounds like my old enemy, Windows Telnet.

But back to your question....

I just tried it out on my OpenBSD box to no avail!
I had "regular" ls and GNU ls confused...

You could get and install GNU ls (fileutils package), along with dircolors, and related config files if you really wanted it...

Sorry to be misleading before...
# 5  
Old 05-13-2002
Ok, thanks for the replies Smilie

By the way, I dont use windows telnet.. I use the ssh/telnet-client 'putty' Smilie
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #453
Difficulty: Easy
The TiVo digital video recorder is based on the Linux kernel and GNU software.
True or False?

10 More Discussions You Might Find Interesting

1. Debian

Debian - kernel dircolors daily error 6

I'm using Debian 5.0.4 Lenny. Daily my logs kern.log, messages, and syslog are filled with errors regarding dircolors: I've googled this to death and still haven't found a solution to fix or stop this. I read on man dircolors to: dircolors --version The output I receive on this cmd is... (0 Replies)
Discussion started by: juliej
0 Replies

2. BSD

openbsd-pf

hello , I wondered if anyone could assist me in writing a simple packet filter firewall on my OpenBSD v4.5. All I intend doing is to have two firewalling machine on a separate network : 192.168.1.1 ext_if = xl0 (dhcp) // Internet interface int_if=xl1 // Internatl interface ... (0 Replies)
Discussion started by: mattjam
0 Replies

3. BSD

Trying to get into OpenBSD

I am an eight year Linux user and after getting into an argument with someone about OpenBSD overiding my theory that OS security is 50% OS and 50% admin skill, I decided to try OpenBSD for myself. I've tried BSDs before and haven't been able to get into them for day to dy use, but I am going to... (7 Replies)
Discussion started by: deckard
7 Replies

4. BSD

RAIDing openbsd 4.2

Hello! Can anyone tell me how to make software RAID1 on openbsd 4.2. I try by some manuals but have no results.Maybe is somewhere good manual directly to openbsd 4.2 version? tnx (1 Reply)
Discussion started by: kasparens
1 Replies

5. BSD

OpenBSD and wireless

I've just installed OpenBSD on my laptop (IBM Thinkpad T42) and since this is my first time with wireless networking in OpenBSD I'm a bit lost. What I would like to do is connect to a wireless network using WEP or WPA. Where do I place the key and essid? (3 Replies)
Discussion started by: Timmy66
3 Replies

6. BSD

setting up OpenBSD 4.0

ok these questions may be a little silly but I just started using OpenBSD as I came from Linux... 1. How do I make my desktop in X all snazzy like, I have wallpapers that need to be used. while I admit it will mainly be used for things I wont need a wallpaper for, you just never know :p, im... (4 Replies)
Discussion started by: Siphter
4 Replies

7. BSD

OpenBSD security

OpenBSD is best OS in the world! - I'm talking about security :) After 10 years popularity in OpenBSD, was founded just!!!!!!!!!!!!! just one security hole! You can download OpenBSD from there . However, do you know a better OS? (1 Reply)
Discussion started by: zylwyz
1 Replies

8. BSD

openbsd : cannot login

hi OK. I don't know exactly what I did to system! The system is OpenBSD 3.5. It is 200MMX, 16MB ram 1.2 + 2.4 GB HDD. The system was running well. But a few days ago I try to unpack a big tar.gz file and the system uses most the cpu and ram for this. While the system unpacking the file I try to... (4 Replies)
Discussion started by: fnoyan
4 Replies

9. Filesystems, Disks and Memory

Maxtor vs. OpenBSD

Can't setup OpenBSD 3.4 with Maxtor Diamond Plus 9 80Gb ATA/133 HDD... Install process stops at hardware initialize, before installing... :confused: Any Comments... Thanks (2 Replies)
Discussion started by: bsdave
2 Replies

10. UNIX for Dummies Questions & Answers

please help with openbsd 2.9

Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
Discussion started by: Blunt_Killer
11 Replies

Featured Tech Videos