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?

  • 2xsaiko@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    I’m going to write (at least part of) the script first anyway, and then I can just use chmod +x after the file is saved which is shorter.