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 04-06-2009, 09:29 PM   #1
psylovibe
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
.~/bash_login No such file or directory


Hey everyone I just recently bought an APPLE iMac and trying to get sphinx installed with MAMP.

im following this tutorial http://www.sphinxsearch.com/forum/view.html?id=1535 .

Step 2 is killing me. i do vi ~/.bash_login and brings me to empty sheet and I enter the information i then save&exit. i then try to run .~/bash_login and i get No such file or directory.

Any ideas? Not sure what im doing wrong.

Thanks.
 
Old 04-06-2009, 09:41 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
are you doing
Code:
.~/bash_login
or
Code:
. ~/bash_login
because the space is important.
 
Old 04-07-2009, 02:19 AM   #3
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
To run the file from the command line, run '~/.bash_login'. Note that the dot is after the slash. The dot is part of the file name (it indicates that the file is a hidden file). Also, make sure that the file you created has the executable bit set on by running 'chmod +x ~/.bash_login'.
 
Old 04-07-2009, 03:04 AM   #4
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
The best way to execute is go to the required directory & run following command

#. .bash_login

or

#. ~/.bash_login
 
  


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
Copying a single file into each directory of a directory tree mlapl1 Linux - Newbie 2 06-27-2007 11:18 PM
How to untar a file in another directory other then current directory. dr_zayus69 Linux - Software 8 05-16-2007 12:01 PM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-04-2006 12:08 AM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 09:34 AM
.bash_login .bash_logout on KDE and GNOME ja_nch Linux - General 3 10-09-2003 10:09 PM


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