$ sudo fuser /var/cache/debconf/config.dat
/var/cache/debconf/config.dat: 15211
$ ps aux | grep 15211
root 15211 0.0 0.3 63464 12272 pts/2 S+ 22:55 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/oracle-java7-installer.postinst configure
$ sudo kill 15211
/var/cache/debconf/config.dat: 15211
$ ps aux | grep 15211
root 15211 0.0 0.3 63464 12272 pts/2 S+ 22:55 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/oracle-java7-installer.postinst configure
$ sudo kill 15211

本文详细描述了如何使用sudo命令执行Debian系统中的包配置任务,并通过ps aux命令查找并终止特定进程ID(PID)为15211的任务。涉及到的命令包括sudofuser/var/cache/debconf/config.dat、var/cache/debconf/config.dat、psaux|grep15211和sudokill15211。
6679

被折叠的 条评论
为什么被折叠?



