This shows you the differences between two versions of the page.
— | linux:commands [2018/10/13 22:24] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Force reboot ====== | ||
+ | < | ||
+ | echo 1 > / | ||
+ | echo b > / | ||
+ | </ | ||
+ | |||
+ | ====== Scan with NMAP ====== | ||
+ | |||
+ | < | ||
+ | |||
+ | ====== Manual IP/GW Configuration ====== | ||
+ | < | ||
+ | route add default gw 10.0.0.254</ | ||
+ | |||
+ | ====== Restart SWAP ====== | ||
+ | < | ||
+ | |||
+ | ====== Free cache ====== | ||
+ | < | ||
+ | |||
+ | ====== dd full drive ====== | ||
+ | dd if=/dev/sdX of=/dev/sdY bs=64K conv=noerror, | ||
+ | |||
+ | ====== erase full drive ====== | ||
+ | dd if=/ | ||