LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-29-2004, 09:06 AM   #1
BaptismOfFire
Member
 
Registered: Aug 2004
Posts: 107

Rep: Reputation: 15
Fancy colors in shell...


A while ago I was using telnet to log on to a redhat 8 system, and the shell had colurs to define files and folders etc...

is it possible to do something similar under debian?
 
Old 08-29-2004, 09:12 AM   #2
HansOlo
LQ Newbie
 
Registered: Aug 2004
Distribution: debian
Posts: 29

Rep: Reputation: 15
edit your ~/.bashrc file. Mine looks like this:

Code:
# ~/.bashrc: executed by bash(1) for non-login shells.

export PS1='\h:\w\$ '
umask 022

# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval `dircolors`
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'

# Some more alias to avoid making mistakes:
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
 
Old 08-29-2004, 12:02 PM   #3
BaptismOfFire
Member
 
Registered: Aug 2004
Posts: 107

Original Poster
Rep: Reputation: 15
thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
enabling colors in my shell? Quartzophobia Linux - General 4 01-02-2005 06:56 AM
changing text colors in tcsh shell leontini Linux - General 1 08-17-2004 02:53 AM
Foolish Xlib colors and shell-launching Timer Programming 1 07-24-2004 03:43 PM
fancy cursors eel Red Hat 1 11-10-2003 06:10 AM
changing the shell font and colors Dodge This Linux - Software 3 08-10-2003 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration