sudo sh <command>
:
-
Purpose:
sudo sh/bash
:= if a file is not marked as executable you need to call acommand shell interpreter
to run it.- Step1:
sudo sh
:= engage into thesh
interpretion environment -> runbash/sh
script without provide the execution privilege. - Step2:
sudo sh ./something.sh
- Step1:
-
List all executable scripts in the current directory:
ls -F | grep \*
-F
~--classify
: append indicator (one of[*, /, =, >, @, |]
) to entries.