摘要:dirname and basename are the tools you're looking for for extracting path components: $ export VAR='/home/pax/file.c' $ echo "$(dirname "${VAR}")" ; e
阅读全文
摘要:1. Remove a PPA from Software Sources via GUI 2. Remove a PPA using APT in terminal: zzh@ZZHPC:~$ sudo add-apt-repository --remove "deb [arch=amd64] h
阅读全文