Skip to content

yaswant/ysh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

44b5fb9 · Aug 12, 2021

History

71 Commits
Dec 5, 2019
Feb 28, 2019
May 28, 2021
Jul 26, 2019
Apr 1, 2019
Mar 20, 2019
Jul 26, 2019
Jul 26, 2019
Feb 21, 2020
Apr 1, 2019
Apr 1, 2019
Dec 5, 2019
Mar 21, 2019
Apr 1, 2019
Jul 26, 2019
Jan 28, 2020
Sep 27, 2019
Feb 28, 2019
Mar 21, 2019
Apr 7, 2021
May 29, 2019
Sep 27, 2019
Mar 21, 2019
Feb 21, 2020
Jul 26, 2019
Feb 28, 2019
Jul 26, 2019
Feb 21, 2020
Mar 21, 2019
Sep 27, 2019
Nov 4, 2019
Feb 21, 2020
May 29, 2019
May 29, 2019
Aug 12, 2021
Dec 5, 2019
May 29, 2019
Feb 28, 2019
Sep 27, 2019
Feb 28, 2019
Dec 5, 2019
Mar 21, 2019
Mar 21, 2019
Mar 15, 2019
May 29, 2019
Nov 19, 2019
Feb 28, 2019
Feb 28, 2019
Feb 28, 2019
Feb 28, 2019
Sep 27, 2019
May 31, 2019
Jun 6, 2019
Sep 27, 2019
Apr 1, 2021
Aug 28, 2020
Feb 21, 2020
Nov 21, 2019
Feb 21, 2020
Feb 28, 2019
Jul 26, 2019
May 29, 2019
Feb 21, 2020
Nov 19, 2019
May 29, 2019
Feb 28, 2019
Feb 28, 2019
Mar 5, 2019
Feb 21, 2020
Sep 27, 2019
May 29, 2019
Feb 21, 2020
Feb 21, 2020
Feb 21, 2020

Repository files navigation

ysh

A collection of useful general purpose shell scripts

Getting Started

Most of the scripts are written in bash (4.1.2(1)-release and mainly on GNU/Linux), but they should function as intended in other shell environments too.

Prerequisites

GNU/Linux operating system with bash.

  • BASH_VERSION 4.1.2+
  • GNU coreutils 8.28+

Very few scripts have been adjusted to work on mac OS (POSIX.2), some still in progress.

# Get your OS  from a terminal
echo "$OSTYPE"
linux-gnu

Installing

The following commands from a terminal should install the scripts in $HOME/ysh directory (specify path to install in a different place). The install script will also append install path to shell PATH.

git clone https://github.com/yaswant/ysh.git
cd ysh
sh ./install.sh PATH  # default PATH=$HOME/ysh

Uninstalling

The following commands will remove the ysh install path from the system. At the moment the PATH setting in user profile has to be removed manually.

sh uninstall.sh PATH  # default PATH=$HOME/ysh

Authors

  • Yaswant Pradhan - Initial work - yaswant

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgements