該功能已合并至 這裏. This function has been combined into HERE.
下面為文章存檔. Below is the archive of this thread.
在我們維護後, 用户經常因爲出現大量的 Deprecated IPv6 而感到苦不堪言, 地址多到無從下手尋找正確的地址. 這時, 您只需要運行這個指令:
After our maintenance, your VM would get plenty of deprecated IPv6 addresses making you depressed and hard to find the real usable addresses. You shall run this command once:
sudo ip -6 -o addr show | grep "deprecated" | awk '{print $4, $2}' | while read ip dev; do sudo ip -6 addr del $ip dev $dev; done
該指令適用於Debian 11/12/13, 理論上也適用於其他Linux系統, 您可以嘗試. 如遇問題, 評論區歡迎討論.
This command is made upon Debian 11/12/13, which is also compatible for other Linux systems therotically. You can try and discuss if any issues is encountered in comments.


