This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:miscadmin [2021/04/03 23:09] – oemb1905 | computing:miscadmin [2022/02/25 07:26] – oemb1905 | ||
---|---|---|---|
Line 234: | Line 234: | ||
du -ch -d 1 | sort -hr | du -ch -d 1 | sort -hr | ||
- | --- // | + | -check disk space with ncurses tool- |
+ | |||
+ | sudo apt install ncdu | ||
+ | ncdu | ||
+ | |||
+ | -stop/start sleep of any form on servers- | ||
+ | |||
+ | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
+ | sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
+ | |||
+ | -xorg with ssh | ||
+ | |||
+ | touch / | ||
+ | touch / | ||
+ | |||
+ | -batch convert with ffmpeg to mp4 from mkv | ||
+ | |||
+ | for i in *.mkv; do | ||
+ | ffmpeg -i " | ||
+ | done | ||
+ | |||
+ | -fix badly configured zpool that used short names to by-id names. This command can be entered as-is, and does not need to be adjusted at all for what your specific ids are or for multiple drives. It literally exports the short names and by-ids, unmounts the volumes/ | ||
+ | |||
+ | zpool export tank | ||
+ | zpool import -d / | ||
+ | |||
+ | --- // |