clh-bash
pure-sh-bible
clh-bash | pure-sh-bible | |
---|---|---|
3 | 29 | |
181 | 6,281 | |
0.0% | - | |
0.0 | 0.0 | |
almost 3 years ago | 4 months ago | |
JavaScript | Shell | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clh-bash
-
How do I learn bash?
I'd start with TLDP bash beginner's guide. This website also seems to be worth something. I'd also try out some of the terminal games (since that is your ultimate goal) and go through their source code. For e.g. bashcrawl, Command-line Heroes etc.
-
Command Line Heroes, Bash game
In case you've never played, Red Hat podcast Command Line Heroes, has a nifty little game based-on bash and built-in Linux commands. It's been out for a few years now, but somehow I had never seen it until now. Just thought I'd share.
-
Need terminal learning resources
Once you know the basics you can the move on to Command Line Heroes: BASH . It too is a game which will challenge your knowledge and help you learn.
pure-sh-bible
-
Kiss Package Manager
The guy who wrote it, also wrote a POSIX Shell bible: https://github.com/dylanaraps/pure-sh-bible
-
Pure Bash Bible
Do you have any specific examples to cite? The snippets are meant to be run in POSIX-compliant shells like dash/yash/ash/etc, not just Bash in compatibility mode.
In fact, there used to be a section which listed workarounds[1] for bugs in dash, but they have since been fixed[2]. If you are still using an old version of dash, you may need to use them.
[1] https://github.com/dylanaraps/pure-sh-bible/commit/70f410ebb...
[2] https://github.com/dylanaraps/pure-sh-bible/issues/13
- Pure Sh Bible
-
"Immortal" Bash scripts, using inline Nix and a special header block
Personally, I would steer clear of a script that installs dependencies on it's own. Us sysadmins prefer to manage our own dependencies, generally speaking. Instead consider a README that outlines how to meet/install dependencies for the script, or try to find ways to write your script in pure Shell or Bash without using tools like awk, jq, etc. Consider having a look at the Pure Sh Bible for examples of how to do many useful things in pure Sh.
- r/posixshell Lounge
-
Shell in a nutshell
POSIX Shell Tutorial POSIX shell cheat sheet GitHub - dylanaraps/pure-sh-bible: 📖 A collection of pure POSIX sh alternatives to external… Shell Scripting Tutorial
-
Just: A Command Runner
There is the "pure bash bible" but it seems less than maintained these days: https://github.com/dylanaraps/pure-sh-bible
Otherwise you're stuck reading the POSIX standard: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
- Unix shell script tactics - a style guide
-
Posix shell compliant
Look at this: https://github.com/dylanaraps/pure-sh-bible
What are some alternatives?
bashcrawl
pure-bash-bible - 📖 A collection of pure bash alternatives to external processes.
sed-snake - Snake game wrote by SED
awesome-bash-commands - A curated list of awesome Bash useful commands. Inspired by awesome-shell and bash-handbook.
snake-bash - Command Line Snake Game written in BASH
bfetch - 📠 Dynamic fetch displayer that SuperB
scripts-to-rule-them-all - Set of boilerplate scripts describing the normalized script pattern that GitHub uses in its projects.
run - Task runner that helps you easily manage and invoke small scripts and wrappers
sh - A shell parser, formatter, and interpreter with bash support; includes shfmt
dotfiles - 📂 My personal Đotfiles
just - 🤖 Just a command runner