Skip to content

A small command to create a new bash script file and give it executable permission (touch & add bash shebang & chmod +x)

License

Notifications You must be signed in to change notification settings

alexander-mart/touch-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

✍️ touch-x

basher install GitHub Static Badge

One command to create a new script file and give it executable permission (touch & add bash shebang & chmod +x)

Usage

What does it do

  1. Create new file: touch <filename>
  2. Add shebang: echo "#!/bin/bash" > <filename>
  3. Make it file executable: chmod +x <filename>

How to use

$ touch-x <filename>

Installation

Install with basher

$ basher install alexander-mart/touch-x

Install with curl

curl -s https://raw.githubusercontent.com/alexander-mart/touch-x/main/bin/touch-x | bash -s install

Install with wget

wget -qO - https://raw.githubusercontent.com/alexander-mart/touch-x/main/bin/touch-x | bash -s install

Unix philosophy

Make each program do one thing well.

To do a new job, build afresh rather than complicate old programs by adding new "features".

-- Douglas McIlroy

See more: en.wikipedia.org/wiki/Unix_philosophy

Unix philosophy projects on GitHub

  • Explore other unix-philosophy projects on GitHub

  • Please use a badge Static Badge if your project follows the same principles:

![Static Badge](https://img.shields.io/badge/topic-unix--philosophy-blue?logo=github&link=https%3A%2F%2Fgithub.com%2Ftopics%2Funix-philosophy)

TODO

Other projects

  • 🦁 rugit — run command & semantic git commit it

About

A small command to create a new bash script file and give it executable permission (touch & add bash shebang & chmod +x)

Topics

Resources

License

Stars

Watchers

Forks

Languages