Computing.Net > Forums > Linux > .bash_profile missing.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

.bash_profile missing.

Reply to Message Icon

Name: aka
Date: February 12, 2007 at 10:03:37 Pacific
OS: Windows\Cygwin
CPU/Ram: 2GiB
Product: Custom
Comment:


Hi, I installed Cygwin (cygwin_NT-5.1) on my lap, but I can not find .bash_profile, I did a ls -al and it doesnt appear, I can only see .bash_history and some other hidden files.

Did I something wrong in the installation, I know I did something wrong, but can not find out what. Is there any way I can get this file, what do I nedd to do ?

Is there someone who can help ?

Thanks a lot !

Don´t freak out until you know the facts...Relax...!



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: February 12, 2007 at 11:00:44 Pacific
Reply:

I'm not a Cygwin guy, but 'ls -al' only searches the current directory. Try using find from the current directory to search the directory tree:

find . -name .bash_profile -print


0

Response Number 2
Name: Guy
Date: February 12, 2007 at 17:39:28 Pacific
Reply:

Just after opening a Cygwin shell you should be in your home directory.

I just checked two Cygwin installs, and .bash_profile seems to have been created automatically.

So something does not seem right.

Does everything else work OK?



0

Response Number 3
Name: 3Dave
Date: February 14, 2007 at 01:57:26 Pacific
Reply:

Check that there is a .bash_profile in /etc/skel which should be a template for home directories when creating users. There may also be a system wide bash profile under /etc (it wont be hidden, ie without the leading ".")


0

Response Number 4
Name: aka
Date: February 21, 2007 at 12:12:23 Pacific
Reply:

Thanks Nails and all of you, I found it by doing a find . -name .bash_profile -print

it was on ./cygwin/etc/skel/.bash_profile

And sorry for answering so late... was busy with some other stuff.

Don´t freak out until you know the facts...Relax...!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


File size checking-Help Squid proxy problem



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: .bash_profile missing.

stupid ass in Linux www.computing.net/answers/linux/stupid-ass-in-linux/10534.html

Mandrake 8.0 ISO is missing files www.computing.net/answers/linux/mandrake-80-iso-is-missing-files/5116.html

missing module www.computing.net/answers/linux/missing-module/26948.html