[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how execute a script



On Fri, Nov 13, 2015 at 02:50:25PM +0100, Pol Hallen wrote:

Hi all :-)

How can I execute a script inside a script?

I putted inside /home/user/.bashrc a line like this:

/home/user/bin/script1.sh

but the script does not run...

What is your evidence for the statement that it "does not run"? Are there any error messages, or do the actions in the script merely not happen?

Is ~/bin/script1.sh executable? Does it have a suitable shebang line (#!/bin/sh) at the start (and no UTF-8 bom)?


any idea?

thanks for help! :-)

Pol


-- For more information, please reread.

Attachment: signature.asc
Description: PGP signature


Reply to: