On Wed, Jun 29, 2011 at 4:11 PM, Subin Mathew <[email protected]>wrote:

> I have created an (sh) file and moved to ~/bin
>

Did you add this to your PATH variable?


> tried to create an exec file with chmod +x da.sh
>
> but even after that i cannot run it
>
<snip>

> i can run this (sh) with ./da.sh in terminal but i want to run it as an
> executable file in terminal
>

You may want to rename the file to da (without .sh) and add the path of
~/bin to your path variable. You can do this by adding the following to your
.bashrc file in the home directory:

export PATH=${PATH}:/home/<your username>/bin

HTH

-- 
Kartik
http://k4rtik.wordpress.com/

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en

Reply via email to