LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-26-2004, 02:31 PM   #1
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
where are global aliases stored?


hi
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?

ty
abs

edit: i can't find any man alias

Last edited by abs; 08-26-2004 at 02:35 PM.
 
Old 08-26-2004, 04:09 PM   #2
DrOzz
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, 10:08 PM   #3
abs
Member
 
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, 12:29 AM   #4
Cheiron
LQ Newbie
 
Registered: Aug 2004
Location: On. Canada
Distribution: Slack 10.2 and Slack 8.1
Posts: 23

Rep: Reputation: 15
/etc/profile

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 12:31 AM.
 
Old 08-27-2004, 12:31 AM   #5
Shade
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.

--Shade
 
Old 08-27-2004, 12:34 AM   #6
xviddivxoggmp3
Member
 
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 @$$.
 
  


Reply


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

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

All times are GMT -5. The time now is 12:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration