LinuxQuestions.org
Visit Jeremy's Blog.
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 06-25-2004, 09:23 PM   #1
VemeC
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??


hi
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
thax
sorry about my english...

VemeC
 
Old 06-25-2004, 09:44 PM   #2
basics
Member
 
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
Shade
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"

--Shade
 
Old 06-25-2004, 10:08 PM   #4
VemeC
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
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

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


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


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration