It is currently Sun, 19 May 2013 18:02:25 GMT



 
Author Message
 color ls after issuing a 'su' ?
i've got my 'ls' command the way i like it for my user, but when i
issue an 'su' to install something or whatnot, the color doesn't hold
and i'm left with boring colors.

any idea how to change this on FreeBSD 4.6 ?  thanks in advance.



 Thu, 13 Jan 2005 03:24:46 GMT   
 color ls after issuing a 'su' ?

On 27 Jul 2002 12:24:46 -0700, mcel...@email.uah.edu (hotsw4p) wrote:

forgot to mention that i'm using latest bash shell.
if anyone knows anything it would be great. thanks.



 Thu, 13 Jan 2005 03:57:18 GMT   
 color ls after issuing a 'su' ?
comp.unix.bsd.freebsd is not widely propagated, so you won't
necessarily get much help here.
See http://www.freebsd.org/support.html for better ideas...

If you type 'ls -G', you'll get colors.
If you use 'su -m' instead of just 'su', you'll keep your shell environment.



 Thu, 13 Jan 2005 08:20:36 GMT   
 color ls after issuing a 'su' ?
thanks!

On Sun, 28 Jul 2002 00:20:36 GMT, Lowell Gilbert



 Thu, 13 Jan 2005 15:55:03 GMT   
 color ls after issuing a 'su' ?

you can also check /root for two files. . .
.bashrc & .bash_profile, and you'll see these switches as aliases. . .

you can edit these files, and you'll be able to delete the -G.



 Tue, 18 Jan 2005 09:43:54 GMT   
 
   [ 5 post ] 

Similar Threads

1. alias ls='ls -a --color=auto'

2. Color 'ls' with DIR_COLORS (.dir_colors)

3. Controlling file coloring by 'ls'

4. bash: tab completion with 'ls --color'

5. changing the colors output by 'ls'

6. Color 'ls' in OpenBSD

7. Sequent (DYNIX V2) can't issue su commands for ORACLE

8. Can't get color ls in RH 4.1

9. Slackware's color ls: where ?

10. color ls columns don't align


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software