GithubHelp home page GithubHelp logo

alexander-mart / touch-x Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8 KB

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

License: MIT License

Shell 100.00%
bash bash-script chmod cli command-line-tool shebang unix-philosophy

touch-x's Introduction

✍️ 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

touch-x's People

Contributors

alexander-mart avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.