Slackware 9.0 default bash aliases

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Sun Nov 9 06:58:39 UTC 2003


On Sat, Nov 08, 2003 at 08:17:54AM -0500, Scott Allen wrote:
> Hi all,
> 
> When I log in as root to a "virgin" Slackware 9.0 system and type 
> "alias" I get the following:
> 
> alias d='dir'
> alias dir='/bin/ls $LS_OPTIONS --format=vertical'
> alias ls='/bin/ls $LS_OPTIONS'
> alias v='vdir'
> alias vdir='/bin/ls $LS_OPTIONS --format=long'
> 
> I've spent a few hours searching the system itself, and also google, 
> and can't find where these aliases are being set up.
> 
> I'd like to be able to change and add to these aliases. I'm sure I can 
> figure out a way to do it (.bashrc, .profile or something), but it 
> bothers me that I can't find the script or code that sets up these 
> defaults.
> 
> Anyone know where it is in Slackware 9.0?

Those aliases are set up by 'dircolors' in /etc/profile.  To define your
own alias, use ~/.profile (or ~/.bashrc).

man dircolors
man bash

-- 
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
Linux solution for data management and processing. 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list