I am tired of creating a file with nano, saving it and then making it executable. Is there a command that makes it in one step?

  • chi-chan~@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    7 months ago

    - && means execute if the command before ended successfully

    - || means execute if the commnad before failed

    - ; just means execute the command - no matter if succeeded or failed