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


  Search this Thread
Old 06-25-2004, 09:23 PM   #1
LQ Newbie
Registered: Jun 2004
Location: Argentina BA
Distribution: Slackware 10.1 KDE 3.4.2 Kernel 2.4.29
Posts: 19

Rep: Reputation: 0
where I put the alias??

I have a slackware 9.1 and a want to know where i put the alias
to charge every time i boot
in debian distribution the file is .bashrc and is here /root/
but in slackware i don't know where i must put
sorry about my english...

Old 06-25-2004, 09:44 PM   #2
Registered: Dec 2003
Location: Georgia, US
Distribution: Slackware64
Posts: 54

Rep: Reputation: 16
I am not sure what you mean by the alias to charge....

are you trying to have a command run everytime the system starts up, or edit part of your command environment?
Old 06-25-2004, 09:54 PM   #3
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
I think it was a typo -- he meant "alias to change every time i boot" which roughly would mean (totally pulling this one out of my behind) user defined aliases..

You're correct sir.
.bashrc is a good place...
However, a better setup, at least for me, is to have .bashrc consist of only two lines...

source /etc/profile
source ~/.bash_profile

and then create .bash_profile

alias whatever="whatever command"

Old 06-25-2004, 10:08 PM   #4
LQ Newbie
Registered: Jun 2004
Location: Argentina BA
Distribution: Slackware 10.1 KDE 3.4.2 Kernel 2.4.29
Posts: 19

Original Poster
Rep: Reputation: 0
yes i want this
for example

alias l=Žls -alŽ
alias startx=ŽkdeŽ
i want this command when i boot
Old 06-26-2004, 12:39 AM   #5
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
put these commands in ~/.bashrc


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
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
where to put global alias' true_atlantis Slackware 4 12-25-2003 02:31 PM
using alias intruptz Linux - General 5 09-17-2003 04:32 AM
help with alias veteq99 Linux - Newbie 2 08-12-2003 04:23 PM
alias booyah Slackware 3 05-06-2003 03:17 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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