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/21 03:56] – posix documentation link 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 14: | Line 15: | ||
Expansion can differ depending on parameter value and set status and possibly assign. | Expansion can differ depending on parameter value and set status and possibly assign. | ||
Substitution can also provide string length and prefix/ | Substitution can also provide string length and prefix/ | ||
- | + | ===== Useful templates ===== | |
- | {{tag>shell linux tricks}} | + | ==== 7zip compression ==== |
+ | <code bash> | ||
+ | 7z a -t7z [OUTPUT FILE].7z -m0=lzma2 -mx=9 [INPUT FILE] | ||
+ | </code> |
tricks/shell.1613879782.txt.gz · Last modified: 2023/05/30 22:32 (external edit)