Showing all posts tagged scripts:

Check bash shell script user & usage

Check bash shell script user & usage Saturday, September 26, 20158:52 AMBash script display usage and check userSometimes it is needed to check what user is executing the bash script and whether the user supplied all required arguments:#!/bin/bash di...