#!/bin/bash
ls -l /bin/bash
ls -l /sbin/bash
ls -l /usr/local/bin/bash
ls -l /usr/bin/bash
ls -l /usr/sbin/bash
ls -l /usr/local/sbin/bash
After running this script I want to stop this script If time is more than 60 seconds. Assume 1st commands execute in 10 and second commands take 50 seconds after that I have to stop the execution of the script.