8 months ago

Shell Script Helpers

A list of helpful shell script helpers (bash/zsh)

www.shellcheck.net

shell check

copy and paste your script in here and get notes on how 'good' it is with standards and such

tldp.org

File Test Operators

flags for testing files (-f == regular file, -s == non zero, etc).

github.com

Awesome Bash Cheatsheet

Title says it all

linuxhint.com

30 Bash Loop Examples

for loops, while loops, loops for this and that

mywiki.wooledge.org

Bash Pitfalls

How to do scripting the right way. A list of common mistakes and how to fix/avoid them

devhints.io

Bash Cheat Sheet

A cheat sheet for bash. It looks very nice.

devmanual.gentoo.org

Bash Standard Shell

More standards and proper way to test for things

github.com

Bash Bible

EXCELLENT how-to for bash

tldp.org

Bash Internal Variables

This shows internal bash arguments. For example, $LINENO is the line number in the shell script

quickref.me

Quick Reference

This is the mother of all cheat sheets.

www.commandlinefu.com

Run entire shell script as root

Adding the sudo to the shebang makes run as root

0 Comments

Please to add a comment

No comments yet.

Please Login to save this website
Please Login to continue
Get a collection of useful websites in your email

Subscribe to the FREE Bunklist newsletter &
get notified when useful websites are added here.

Bunklist is a social bookmarking platform to discover, create, and share website links with your friends through simple lists.

© Bunklist 2021