#!/bin/bash konqueror http://www.google.com & pid=$! # give the page some time to load sleep 5 kill $pid