Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-26-2004, 03:31 PM   #1
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
where are global aliases stored?

i was tryng to redo some of the aliases. i added some to profile but but which file handles/sets this everytime someone logs on. i want to make it a global change and not have to change each user's .bash_profile. i tried setting dir in /etc/profile but it get overridden later. question is, by which file?


edit: i can't find any man alias

Last edited by abs; 08-26-2004 at 03:35 PM.
Old 08-26-2004, 05:09 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
put global aliases in /etc/bashrc
Old 08-26-2004, 11:08 PM   #3
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
the file doesn't exist but i'll create it. since that file is missing, where are the default aliases which slack 10 uses? defined where?
Old 08-27-2004, 01:29 AM   #4
LQ Newbie
Registered: Aug 2004
Location: On. Canada
Distribution: Slack 10.2 and Slack 8.1
Posts: 23

Rep: Reputation: 15

It will however get overridded by /etc/bashrc and .bashrc and .bash_profile in user home dirs.

Last edited by Cheiron; 08-27-2004 at 01:31 AM.
Old 08-27-2004, 01:31 AM   #5
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
There aren't any default aliases. Aliases are usually user-specific, or machine specific.
Just create that file with the aliases you require.

Old 08-27-2004, 01:34 AM   #6
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Rep: Reputation: 30
.bashrc and .bash_profile does the job for me.
Those files kick major @$$.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
where does static and global variables stored raviksp General 0 04-28-2005 01:23 AM
Where are drivers stored? Mr_C Linux - Hardware 2 12-28-2004 11:25 AM
Global Aliases--Nothing is working! mooreted Slackware 2 06-15-2004 10:52 PM
kinda global aliases? pal_o_matic Linux - Newbie 1 08-01-2003 03:32 AM
Where are screensavers stored? shassouneh Linux - General 9 09-10-2002 04:31 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:52 PM.

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