dev:tricks:linux
Differences
This shows you the differences between two versions of the page.
| dev:tricks:linux [2015/06/06 13:41] – [Use ipref to test network] hackerzhou | dev:tricks:linux [2020/06/06 23:32] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Linux Tricks ====== | ====== Linux Tricks ====== | ||
| ===== Linux Common ===== | ===== Linux Common ===== | ||
| + | ==== XML beautiful format command ==== | ||
| + | <code bash> | ||
| + | cat xxx.xml | xmllint --format - | ||
| + | </ | ||
| + | |||
| + | ==== Remount filesystem as read-write ==== | ||
| + | <code bash> | ||
| + | mount -o rw,remount / | ||
| + | </ | ||
| + | |||
| ==== Useful tools to monitor linux ==== | ==== Useful tools to monitor linux ==== | ||
| <code bash> | <code bash> | ||
| Line 681: | Line 691: | ||
| <code bash> | <code bash> | ||
| kernelver=$(uname -r | sed -r ' | kernelver=$(uname -r | sed -r ' | ||
| - | ls / | + | dpkg -l linux-{image, |
| - | #dpkg -l linux-{image, | + | |
| </ | </ | ||
| ==== Install Lyx ==== | ==== Install Lyx ==== | ||
dev/tricks/linux.1433598095.txt.gz · Last modified: (external edit)
