LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 03: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, 04: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, 04: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, 09: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 09:17 AM.
 
Old 10-21-2006, 11:01 AM   #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, 02:11 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

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

Harmonizing the Bash Startup Scripts
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:20 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
Open Source Consulting | Domain Registration