LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2013, 07:09 AM   #1
saopedrodaserra
Member
 
Registered: Sep 2010
Location: rio de janeiro
Distribution: slackware
Posts: 39

Rep: Reputation: 0
user configuration file


Hi,
anybody knows where is a user configuration file on a slackware 14? file such as .bash_profile. I cant find any file.
thanks.
 
Old 01-14-2013, 07:50 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Check your shell, since every shell has a different configuration file.
Code:
~$ echo $SHELL
OR,
~$ grep <usrename> /etc/passwd
Also you can check for following files in home directory:-
Code:
.bashrc (Bash shell)
.bash_profile
.cshrc (c shell)
.profile
If you cannot find it, then it loads shell variables from system's profile files, like:-
Code:
/etc/profile
Moreover, you can find and copy those shell initialization files (I am not sure about slakware, but check it one) from /etc/skel directory.
Code:
~$ cp /etc/skel/<file> /home/<username>
 
  


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
Where to Add mod_evasive configuration to Apache configuration file.? Unknown3r Linux - Newbie 1 11-04-2012 10:09 AM
Create user add file with default password and force user to change it? Morgandy Linux - Newbie 3 02-02-2010 05:06 PM
proftpd multi-user configuration, user cannot show contents of directories uglyoldbob Linux - Server 6 09-15-2008 11:18 PM
DNS configuration and configuration file in RHEL5 remo1225 Linux - Newbie 1 02-20-2008 04:25 AM


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