Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-08 00:16:55 +00:00
parent 34878bb630
commit 31e38d1972
26 changed files with 539 additions and 6 deletions

21
tldr/unset Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# unset
> Remove shell variables or functions.
> More information: <https://manned.org/unset>.
- Remove the variable `foo`, or if the variable doesn't exist, remove the function `foo`:
`unset {{foo}}`
- Remove the variables foo and bar:
`unset -v {{foo}} {{bar}}`
- Remove the function my_func:
`unset -f {{my_func}}`