'''Readme:This script shows the algrothm that list all element but process the lastone specially, while do not know which one is the last oneNeed two pointers: one for current element and the other one for the next element'''current = next = read (directory)while (next = ...【阅读全文】
下载的二进制程序装在/opt下,一般是商业软件(不开源的);自己编译的源码包装(或者通过一些其他的非官方途径)在/usr/local下;在ubuntu下直接通过apt-get安装的软件一般会在/usr下。注意:usr的并不是user的意思,而是unix system resrouces。/usr:存放可执行程序的目录;/usr/bin:存放可执行程序。参考:Linux下目...【阅读全文】