LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 08: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, 08:41 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
are you doing
Code:
.~/bash_login
or
Code:
. ~/bash_login
because the space is important.
 
Old 04-07-2009, 01: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, 02: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:52 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