Skip to content

Instantly share code, notes, and snippets.

@Goorzhel
Last active April 9, 2023 21:56
Show Gist options
  • Select an option

  • Save Goorzhel/ddc09f3b60c53735249c765b21fb9c20 to your computer and use it in GitHub Desktop.

Select an option

Save Goorzhel/ddc09f3b60c53735249c765b21fb9c20 to your computer and use it in GitHub Desktop.

Revisions

  1. Goorzhel renamed this gist Apr 9, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Goorzhel revised this gist Oct 16, 2018. 1 changed file with 1 addition and 5 deletions.
    6 changes: 1 addition & 5 deletions make_me_a_sandwich.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,3 @@
    #!/bin/bash

    if [[ $EUID -ne 0 ]]; then
    echo "What? Make it yourself."
    else
    echo "Okay."
    fi
    [[ $EUID -ne 0 ]] && echo "What? Make it yourself." || echo "Okay."
  3. Antonio Gurgel renamed this gist Jan 16, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. Antonio Gurgel created this gist Jan 16, 2017.
    7 changes: 7 additions & 0 deletions xkcd149.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/bin/bash

    if [[ $EUID -ne 0 ]]; then
    echo "What? Make it yourself."
    else
    echo "Okay."
    fi