Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| playground:playground [2025/08/21 11:11] – norman | playground:playground [2026/01/09 08:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== PlayGround ====== | ====== PlayGround ====== | ||
| + | ===== Delete all lines beginning with a # from a file ===== | ||
| + | |||
| + | < | ||
| + | sed '/ | ||
| + | </ | ||
| + | < | ||
| + | sed -i '/ | ||
| + | </ | ||
| ===== Create Users Trash Bin ====== | ===== Create Users Trash Bin ====== | ||
| + | < | ||
| + | cd /to/folder | ||
| + | </ | ||
| < | < | ||
| mkdir -m777 -v .Trash-$UID | mkdir -m777 -v .Trash-$UID | ||