Coder Social home page Coder Social logo

ildar-shaimordanov / busybox-runner Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 32 KB

Simplify running scripts and commands with BusyBox

License: MIT License

Batchfile 82.29% Shell 17.71%
busybox busybox-checker windows batch batch-script runner-script

busybox-runner's Introduction

Freeze this repository in favor of another one.

All this content is migrated to https://github.com/ildar-shaimordanov/my-scripts.

busybox-runner

This script is intended to simplify BusyBox running in different ways.

Installation

  • Download from this repository the script bb.bat.
  • Download the latest version of the BusyBox executable from https://frippery.org/busybox/ (either 64-bit or 32-bit, what you want).
  • Place both somewhere in your operating system to be visible via $PATH.

Or...

  • Download from this repository the script bb.bat.
  • Place it in your operating system to be visible via $PATH.
  • Run one of the command bb --download win32 or bb --download win64 to download the latest 32-bit or 64-bit build of BusyBox, respectively. The downloaded executable will be stored next to this script. This step requires PowerShell is available in your system.

That's it. Everything is ready. You can enjoy with the cool set of Unix tools and cute envelope for running them.

Usage

Simplify running scripts and commands with BusyBox

USAGE
  Print BusyBox help pages
    bb --help
    bb --version
    bb --list[-full]

  Run a built-in BusyBox function
    bb function [function-options]

  Run an executable from $PATH or specified with DIR
    bb [shell-options] [DIR]command [command-options]

  Run a one-liner script
    bb [shell-options] -c "script"

  Download the latest 32-bit or 64-bit build of BusyBox
    bb --download win32
    bb --download win64

SEE ALSO
  Learn more about BusyBox following these links:

  https://busybox.net/
  https://frippery.org/busybox/
  https://github.com/rmyorston/busybox-w32

1. Run a built-in BusyBox function

Run the internal function and pass options, if necessary:

bb function [function-options]

In fact, it's the same what BusyBox does:

busybox function [function-options]

2. Run an external command or script

Run an external command or script found in $PATH or specified with a relative or absolute DIR. The following examples are identical:

bb [shell-options] [DIR]command [command-options]
busybox [sh [shell-options]] [DIR]command [command-options]

3. Run a one-liner script

Run a one-liner script:

bb [shell-options] -c "script"
busybox sh [shell-options] -c "script"

See Also

busybox-runner's People

Contributors

ildar-shaimordanov avatar

Stargazers

 avatar

Watchers

 avatar  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.