summaryrefslogtreecommitdiff
path: root/content/cheatsheets
diff options
context:
space:
mode:
Diffstat (limited to 'content/cheatsheets')
-rw-r--r--content/cheatsheets/bash.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/content/cheatsheets/bash.md b/content/cheatsheets/bash.md
index a5609f0..224a153 100644
--- a/content/cheatsheets/bash.md
+++ b/content/cheatsheets/bash.md
@@ -3,4 +3,12 @@ title = "bash"
disable_share = true
+++
-Ya
+This is a cool bash snippet.
+
+```bash
+#!/bin/bash
+
+if [ "$1" -eq 1 ]; then
+ exit 4
+fi
+```