Skip to content

Instantly share code, notes, and snippets.

@iamirulofficial
Created February 24, 2019 09:25
Show Gist options
  • Save iamirulofficial/dd3849590f4c48cb2bfaf962d5b266be to your computer and use it in GitHub Desktop.
Save iamirulofficial/dd3849590f4c48cb2bfaf962d5b266be to your computer and use it in GitHub Desktop.
#!/bin/bash
#Program: using command line arguments
echo "Program name: $0 \n The number of arguments specified is $# \n the arguments are
$*"
grep "$1" $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment