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.
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...!
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...!
Summary: You have to specify to linux where the script is located!! In .bash_profile, the PATH variable give the most common paths. The you may call the commands with full path, ex: /sbin/ifconfig Or you...
Summary: It seems like the ISO is missing files, I can't install it from Windows, nor can I install it from MS-DOS, and the boot disk tells me there's an exec error. Don't tell me I wasted yet another CD on Li...
Summary: Hello I just set up FreeBSD and it *seems* to be fine..I read the instructions and everything but for some reason I can't start up Xorg. It says its missing key point or something and before that it s...