Skip to content
/ Extra Public
forked from MiXXiM/miscellaneous

Bundle of thoughtfully-written projects for BASH, SH, and AWK.

License

Notifications You must be signed in to change notification settings

ghuter/Extra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MASTER - Hopefully stable branch.
DEV - Development Branch (latest changes)

Introduction to Extra

Thank you for your interest. Despite the non-descript name of this repository, it's actually full of a lot of presentable, carefully-written shell programs.

Some of the programs within this repository were written and are maintained for a Bourne POSIX-compliant shell (with Yash as guidance), and others are written for the Bourne Again Shell.

As of 2019-12-06, here are some highlights:

  • backmeup - A simple tool to quickly and easily back up your HOME.
  • libtflbp-sh - Bourne POSIX function library used by TFL programs.
  • lspkg - Test for, describe, and list out installed packages.
  • purgerc - Purge all 'rc' packages, as marked by DPKG.
  • rmne - POSIX Bourne method to remove non-essential Debian packages.
  • roks - Remove old kernel versions on an Ubuntu- or Debian-based system.
  • shlides - Present a project on your terminal via formatted slides.
  • ubuntu-syschk - Performs various non-root system health checks on Ubuntu and similar.

Continue to the next section to see how you can get them...

Instructions for Installation

Some of the following commands tell you to use sudo, but not everybody has that utility; if you're one of those special snowflakes, then you'll likely want to use su prior to running the commands otherwise ran with sudo.

You have four options available to you, at the time of writing this:

  • You can install via one of the many Debian packages I've built and stored within the DEB-Packages repository. This won't guarantee the latest version, however, but it's the easiest method, provided you're on a Debian-based installation of Linux.

    1. Browse here to the DEB-Packages repository.
    2. Left-click on the package filename you want to download.
    3. Left-click on the 'Download' button or 'View raw' link.
    4. Choose location to download and store the Debian package.
    5. Open up a terminal either at or then browse to that location.
    6. Run: sudo dpkg -i PKG (where PKG is the package to install)
  • You can install via the new, exhaustive Cito program I've written for just this purpose. It's lightweight, portable, and installable with a few commands, after which many programs or files on GitHub or locally are quick, robust, and painless to install -- not just my own!

    1. Open up a terminal, and keep it open until this is done.
    2. Run: TempFile=$(mktemp); DomLink='https://raw.githubusercontent.com'
    3. Run: wget -qO "$TempFile" "$DomLink/terminalforlife/Extra/source/master/cito"
    4. Run: sudo chown 0:0 "$TempFile; sudo chmod 755 "$TempFile"
    5. Run: sudo mv "$TempFile" /usr/bin/
  • If you're on a Debian- or Ubuntu-based distribution of Linux, your best bet is:

    1. Open up a terminal, and keep it open until this is done.
    2. Run: DebPkg='cito_2019-12-07_all.deb'; DomLink='https://raw.githubusercontent.com'
    3. Run: wget -qO "$DebPkg" "$DomLink/terminalforlife/DEB-Packages/master/$DebPkg"
    4. Run: sudo dpkg -i "$DebPkg" && rm "$DebPkg"
    5. Now you need only run cito --help to see how to use it!
  • It's clunky and it's inconvenient, but if you must, you can clone this repository then install them yourself, line-by-line.

    1. Open up a terminal, and keep it open until this is done.
    2. Make sure you have git installed. IE: sudo apt-get install git
    3. Run: git clone 'https://github.com/terminalforlife/Extra'
    4. Run: cd Extra to change to the newly-cloned directory.
    5. From here, it depends on the file you want. Hence: clunky method.

You should be ready to go, now. If you have any problems, don't hesitate to let me know, either here on GitHub, YouTube, or via the following E-Mail address: [email protected]

About

Bundle of thoughtfully-written projects for BASH, SH, and AWK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.6%
  • Awk 0.4%