summaryrefslogtreecommitdiff
path: root/content/cheatsheets/bash.md
blob: 224a153cade19b6215ab50923488c5b550c722d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
+++
title = "bash"
disable_share = true
+++

This is a cool bash snippet.

```bash
#!/bin/bash

if [ "$1" -eq 1 ]; then
  exit 4
fi
```