Explore
Connect
Documentation
Snippets
Log in
Sign up
1
2
3
4
5
6
7
echo
'#!/usr/bin/env bash
echo this is a bash script file that accepts two a
rguments
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.
Run