$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

macOS Terminal Tutorial for Beginners

December 6, 2023 | By the+gnu+linux+evangelist.

Administering

  1. 8. Getting Admin Power

    Last How to Get the Admin Super-Powers
    So to Check What User you are on:

    whoami

    Then to Login as SuperUser:

    su -

    If Got “User is Not in Sudoers file” then see: How to Enable sudo
    Then to Logout:

    exit

    To Protect your System from the potential Damage of an Hazardous Crazy Command Execution the Logout should be executed every Time your Setup is Achieved!
    Finally, to Execute a Single Command as SuperUser:

    su -c 'myCommand'

    Or:

    sudo myCommand

    So for instance to List the Protected root Directory try to run:

    sudo ls /root
  2. 9. Setting Permissions

    How to Change Permissions on macOS File System

    macOS Change File Permissions
  3. Congratulations, you are now fully Initiated to the awesome macOS Command Line Shell. ;)