Executing scrips six different ways...
You have scriptfile located in /opt folder. You need to execute it.
There are following ways.
1) /opt/scriptfile
2) source /opt/scriptfile
3) cd /opt; ./scriptfile
4) sh /opt/scriptfile
5) cd /opt; sh scriptfile
6) . ./scriptfile
…
tags: & category: -