pure-bash-bible
shellcheck-repl
Our great sponsors
pure-bash-bible | shellcheck-repl | |
---|---|---|
44 | 4 | |
35,848 | 15 | |
- | - | |
0.0 | 3.1 | |
5 months ago | 4 months ago | |
Shell | Shell | |
MIT License | ISC 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.
pure-bash-bible
- 🐧5 useful resources for anyone learning Linux
-
The bash book to rule them all
I believe it's been posted here before, but I also use this for reference whenever I forget the syntax to something, or know there must be a better way than what I am doing.
https://github.com/dylanaraps/pure-bash-bible
-
Ask HN: How does one practice day to day shell scripting
I'd say check out the work of William Shotts at https://linuxcommand.org/ His book, "The Linux Command Line" is free for downloading, and there are lots of references to style guides, good practices, and bash templates in the book.
There is also a shorter, HTML version at the same site: https://linuxcommand.org/lc3_learning_the_shell.php
I'm trying to get a little proficiency in all this, and just yesterday I went through the "Further Reading" sections at the end of each chapter, and captured all the likely URLs for further investigation.
One that looks really good is Dylan Araps' "Pure Bash Bible" ( See https://github.com/dylanaraps/pure-bash-bible ) Confession: I found a PDF copy at Libgen, but don't tell anyone. This and the Shotts book have also been thoroughly discussed on Hacker News in the past. (I.e., search on the two titles and you'll probably get all the opinions that you can stand, plus maybe some more hints.)
Bash is profoundly weird, but if/when you can make it work, it's slick.
- Pure Bash Bible
-
What is the meaning of ! -d
pure bash bible
-
Bourne Again SHell? more like Based AS Hell am i right gamers?
I recommend taking a look at https://github.com/dylanaraps/pure-bash-bible
-
What is a good way to learn bash scripting
Additionally, Pure Bash Bible is a bit more advanced but really fun to go through it.
-
hey i dicided to learn bash is the “bash mastery: the complete guide to bash scripting “ good ?
Here is another resource I have found useful.
-
Best Websites For Coders
Pure Bash Bible : A collection of pure bash alternatives to external processes.
- Unix shell script tactics - a style guide
shellcheck-repl
-
Shell Script Best Practices, from a decade of scripting things
> "Use shellcheck."
(Disclaimer: I'm one of the authors)
After falling in love with ShellCheck several years ago, with the help of another person, I made the ShellCheck REPL tool for Bash:
https://github.com/HenrikBengtsson/shellcheck-repl>
-
Bash Pitfalls
Thank you, and thanks for the suggestion. Yes, it should be possible to keep the SC2154 check. I probably just disabled it as a quick fix when first started out. I'm tracking this in https://github.com/HenrikBengtsson/shellcheck-repl/issues/15.
> You'd also want to take into account special variables like $RANDOM and $HOSTNAME, but that's pretty trivial.
It seems like ShellCheck is already aware of these special Bash variable, e.g. 'echo $RANDOM' will not trigger SC2154 (or even SC2086 that otherwise asks you to quote variables).
-
ShellCheck: A static analysis tool for shell scripts
shellcheck-repl: Validation of Shell Commands Before Evaluation
https://github.com/HenrikBengtsson/shellcheck-repl
This tool validates your commands at the Bash prompt using ShellCheck and refuses to evaluate them if there's a mistake. It ignores a set of rules that doesn't play well with oneliners.
(Disclaimer: I'm one of the authors)
What are some alternatives?
pure-sh-bible - 📖 A collection of pure POSIX sh alternatives to external processes.
shellharden - The corrective bash syntax highlighter
bash-oo-framework - Bash Infinity is a modern standard library / framework / boilerplate for Bash
bats-core - Bash Automated Testing System
pterodactyl-installer - :bird: Unofficial installation scripts for Pterodactyl Panel
ShellCheck - ShellCheck, a static analysis tool for shell scripts
isort - A Python utility / library to sort imports.
void-trader - Custom oh-my-zsh plugin that displays the time left until the Void Trader in Warframe arrives.
dmenu-scripts - Serious fun with dmenu
update-golang - update-golang is a script to easily fetch and install new Golang releases with minimum system intrusion
static-analysis - ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.