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

Re: how execute a script

On 11/13/2015 06:43 AM, Pol Hallen wrote:
  (a) the result of the command "ls -l /home/user/bin/script1.sh"

-rwx------ 1 user000 user000  936 Dec  5  2014 script1.sh

my mistake sorry :-/

script1.sh checks (using apt-get update && apt-get upgrade) if there're
(or not) any updates availables showing me only the total number of
packages, so inside /home/user/.bashrc, exactly I've:

/home/user/bin/script1.sh &

Put the command at the end of ".profile".

It works for me.


the problem is "&" because without it script does run

after executing of script, output goes to shell with "| wall"



Reply to: