Re: how execute a script
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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...
>
> any idea?
Just saying the same as Darac is, but in a slightly different way:
Please post here
(a) the result of the command "ls -l /home/user/bin/script1.sh"
and
(b) the first couple of lines of this script
(as an aside: it's bad custom inherited from DOS to name shell scripts
with an .sh ending. No ending is the right thing here).
Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlZF6QsACgkQBcgs9XrR2kbi3QCfeZpSD1ZPxhymI1rvmM/E0wxa
p2wAn3RIpWh3SkUNJI6/FMXtYJnfHk/5
=5kxi
-----END PGP SIGNATURE-----
Reply to: