之前一直不知道ubuntu的code name是放在哪里的. 这样就有个麻烦:
* 网上得到的source list当是不同的code name就无法使用.
看了人家的shell脚本才知道: /etc/lsb-release
强的shell:
$ grep 'DISTRIB_CODENAME' /etc/lsb-release | awk -F'=' '{print $2}'
system administration is a craft
Monday, July 27, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment