LinuxQuestions.org
Help answer threads with 0 replies.
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 10-21-2006, 04:51 AM   #1
strycnine
Member
 
Registered: Jul 2006
Location: Romania
Distribution: Fedora 12
Posts: 160

Rep: Reputation: 31
bash_profile


In other distribution there is a file .profile(or bash_profile), where u can edit and tell what to do when the bash shell is opening.
In slackware I don't have it, it is in another place?
 
Old 10-21-2006, 05:09 AM   #2
achu
LQ Newbie
 
Registered: Oct 2006
Location: Poland
Posts: 5

Rep: Reputation: 0
Simply make this file, it will work.
 
Old 10-21-2006, 05:12 AM   #3
pkn
LQ Newbie
 
Registered: Oct 2006
Location: Netherlands
Distribution: Slackware, CentOS and FC
Posts: 12

Rep: Reputation: 0
Slack uses the file /etc/profile and the directory /etc/profile.d for system wide defaults...

For personal settings you can make your own ~/.profile, you will have to create the file yourself... it is not done for you. If you want to have an example .profile for new users you can place one in /etc/skell
 
Old 10-21-2006, 10:15 AM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Quote:
Originally Posted by pkn
If you want to have an example .profile for new users you can place one in /etc/skell
As long as you give the -m switch to useradd. And remove the extra "l" from skell. /etc/skel is the directory. ;-)

Last edited by jong357; 10-21-2006 at 10:17 AM.
 
Old 10-21-2006, 12:01 PM   #5
pkn
LQ Newbie
 
Registered: Oct 2006
Location: Netherlands
Distribution: Slackware, CentOS and FC
Posts: 12

Rep: Reputation: 0
Ghehe... on another forum (NedLinux) I have a sig like "Pkn does not give guaranties on file and path names.... he uses tab-completion..."
 
Old 10-22-2006, 03:11 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Perhaps the following will help:

Harmonizing the Bash Startup Scripts
 
  


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
.bash_profile UmneyDurak Linux - General 1 10-18-2005 12:44 AM
.bash_profile dimi Linux - General 1 08-23-2005 09:00 PM
where is ~/.bash_profile? Jskill007 Slackware 4 09-18-2004 12:04 AM
.bash_profile wildcat22 Linux - General 3 04-13-2004 08:08 PM
.bash_profile sikandar Linux - Software 9 08-31-2003 11:01 AM


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