how to save shell aliases from boot to boot?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
sprizz
Posts: 58
Joined: Mon 21 Nov 2005, 21:42
Location: Ohio Universiy

how to save shell aliases from boot to boot?

#1 Post by sprizz »

How can I save my aliases from boot to boot....do I need to save them in a configuration file somewhere?

Cheers
Puppy 1.0.7 (cd image on hdd)
HP pavilion ze4900

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post by GuestToo »

you mean shell aliases like?

alias pico='mp'
alias rm='rm -i'

you can put them in /etc/profile.local
or /root/.bashrc but profile.local is probably better

http://gentoo-wiki.com/TIP_alias

User avatar
sprizz
Posts: 58
Joined: Mon 21 Nov 2005, 21:42
Location: Ohio Universiy

#3 Post by sprizz »

thanks much
Puppy 1.0.7 (cd image on hdd)
HP pavilion ze4900

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#4 Post by GuestToo »

if the file /etc/profile.local does not exist, you just create it, of course

Post Reply