This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux:commands [2024/10/14 13:27] – [Scan with NMAP] Jan Forman | linux:commands [2025/09/30 12:00] (current) – [erase full drive] Jan Forman | ||
---|---|---|---|
Line 27: | Line 27: | ||
dd if=/ | dd if=/ | ||
+ | |||
+ | ====== Show inode number on disk ====== | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | if [ $# -ne 1 ];then | ||
+ | echo " | ||
+ | exit 1 | ||
+ | fi | ||
+ | echo "Wait a moment counting inode usage..." | ||
+ | find " | ||
+ | echo -e `ls -A " | ||
+ | done | sort -nr | head | awk ' | ||
+ | exit 0 | ||
+ | </ |