0

Im trying to write a very simple script. It should to open a web-browser (www.google.com for instance), wait for 3 seconds and kill the web-browser. What happens to me is that seems that the script do not pass from this first step.

#!/bin/bash

/usr/bin/google-chrome "http://www.google.com/" echo "Hello" sleep 3 pkill chrome

Not even showing the "Hello" in the terminal. Only the web-browser opens and no more happens.

What am I missing?

Thanks in advance.

RRR CCC
  • 113
  • 1
  • 1
  • 5

0 Answers0