全部博文(108)
发布时间: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-06-10 22:56:16
-print True; print the full file name on the standard output, followed by a newline. If you are piping the output of find into another program and there is the faintest possibility that the files which you are searching for might contain a newline, then &.........【阅读全文】
发布时间:2014-05-12 11:10:07
让用户每次执行操作的时候输入密码。 在/etc/sudoers后面添加如下信息:Def.........【阅读全文】
发布时间:2014-05-02 21:32:31
如何添加行号: vim file :g/^/exe ":s/^/".line(".")在特定的行添加行号:g/keyword/exe ":s/^/".line(".")转个操作例子:住宅底商-商铺商用公寓写字楼别墅要将上面的内容变为住宅底商-商铺商用公寓......【阅读全文】
发布时间:2013-11-28 17:42:27
NameNumberMeaning HUP1Hang Up. The controlling terminal has gone away. INT2.........【阅读全文】