全部博文(108)
发布时间:2014-08-14 18:28:03
点击(此处)折叠或打开Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import re>>> re.split('\W+','Words, words, words').........【阅读全文】
发布时间:2014-08-13 12:26:06
计算pi。 pi=$(echo "scale=10; 4*a(1)" | bc -l)下面的代码会在子网掩码计算上有用。点击(此处)折叠或打开root@localhost:~# echo "obase=2;ibase=10;255"|bc11111111root@localhost:~# echo "obase=16;ibase=10;100"|bc64.........【阅读全文】
发布时间:2014-08-13 12:00:02
点击(此处)折叠或打开TAILF(1) Linux Programmer’s Manual TAILF(1)NAMEtailf - follow the growth of a log fileSYNOPSIStailf [OPTION] fileDESCRIPTION.........【阅读全文】
发布时间:2014-08-11 13:14:06
点击(此处)折叠或打开[root@20-11-13-9 ~]# pythonPython 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> .........【阅读全文】
发布时间:2014-08-05 23:33:39
Vim sometimes has trouble with files that have unusually long lines. It's a text editor, so it's designed for text files, with line lengths that are usually at most a few hundred characters wide.A database file may not contain many newline characters, so it could conceivably be one single 100 .........【阅读全文】