add shell cheatsheet
This commit is contained in:
parent
ca76c2cbd8
commit
ef520f28a0
8
cheat/shell.md
Normal file
8
cheat/shell.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
### Debugging a shell function
|
||||||
|
```bash
|
||||||
|
function mybuggyfunction {
|
||||||
|
set -x
|
||||||
|
my code
|
||||||
|
set +x
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user