Explore Connect Documentation
Snippets
1
2
3
4
5
6
7
echo '#!/usr/bin/env bash
echo this is a bash script file that accepts two arguments
echo $1 $2' > printTwoArgs
chmod a+x printTwoArgs  # add executable permission to scriptFile
./printTwoArgs one two  # executing script by listing its path
Press desired key combination and then press ENTER.