LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-17-2005, 07:35 PM   #1
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Rep: Reputation: 30
Question howto re-load my ~/.profile without logout?


hi..
I've previously looked for the answer here in LQ but I didn't found it.
I'm making some changes in my ~/.profile, but to check'em out I must re-login!
I'm shure there's a way to re-load this file without logoff .. but don't know it..

would anybody please tell me wich is it?
tanks in advance.
 
Old 09-17-2005, 07:40 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Of course there is
Use: source <file>

Like
Code:
source ~/.profile
 
Old 09-17-2005, 07:49 PM   #3
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
thanks, pal ...gonna try it out.
 
Old 09-18-2005, 01:23 AM   #4
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Quote:
Originally posted by gbonvehi
Of course there is
Use: source <file>

Like
Code:
source ~/.profile
Learn something new everyday.

I presume this works with
Code:
source /etc/profile
as well?
 
Old 09-18-2005, 01:36 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Yeap, with any bash script.
You can also use . (dot), i never tested if there are differences between using source or dot. Instead of source, it would be: . /etc/profile

Last edited by gbonvehi; 09-18-2005 at 01:39 AM.
 
  


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
'logout' inserted in profile cryo70 Linux - Security 6 09-19-2005 06:01 PM
samba PDC does not load profile Donald1000 Linux - Software 1 09-01-2005 04:31 PM
Samba 3.0 unable to load Profile jok1 Linux - Networking 0 10-07-2003 08:55 AM
Can't load profile cross subnet u4113072 Linux - Software 0 11-25-2002 03:46 AM
bash logout profile rc cs emacs sreenrc ravenarts Linux - Newbie 2 05-15-2002 09:01 PM


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

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