tricks:shell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tricks:shell [2021/02/12 08:41] – joeleg | tricks:shell [2023/05/30 22:32] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Shell tricks ====== | ====== Shell tricks ====== | ||
| + | {{tag> | ||
| ===== Sudo privilege escalation ===== | ===== Sudo privilege escalation ===== | ||
| <code bash> | <code bash> | ||
| Line 8: | Line 9: | ||
| </ | </ | ||
| - | {{tag>shell linux tricks}} | + | ===== Posix Documentation ===== |
| + | [[https:// | ||
| + | ==== Parameter expansion ==== | ||
| + | [[https:// | ||
| + | Expansion can differ depending on parameter value and set status and possibly assign. | ||
| + | Substitution can also provide string length and prefix/ | ||
| + | ===== Useful templates ===== | ||
| + | ==== 7zip compression ==== | ||
| + | <code bash> | ||
| + | 7z a -t7z [OUTPUT FILE].7z -m0=lzma2 -mx=9 [INPUT FILE] | ||
| + | </code> | ||
tricks/shell.1613119319.txt.gz · Last modified: (external edit)