#!/bin/bash
function z-apt-uninstall()
{
if [ ! $1 ]
then
echo "z-apt-uninstall error: software name not input: z-apt-uninstall usage: z-apt-uninstall <software_name> ..."
else
sudo apt purge $*
sudo apt autoremove
fi
}
Ubuntu 软件卸载脚本(卸载软件 + 移除配置文件 + 移除依赖项)
猜你喜欢
转载自www.cnblogs.com/sinicheveen/p/11995653.html
今日推荐
周排行