Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 498 Bytes

07282022.md

File metadata and controls

14 lines (9 loc) · 498 Bytes
  1. sudo sh <command>:
  • Purpose: sudo sh/bash := if a file is not marked as executable you need to call a command shell interpreter to run it.

    • Step1: sudo sh := engage into the sh interpretion environment -> run bash/sh script without provide the execution privilege.
    • Step2: sudo sh ./something.sh
  • List all executable scripts in the current directory:

    ls -F | grep \*
    • -F ~ --classify: append indicator (one of [*, /, =, >, @, |]) to entries.