摘要: 一、关于ls命令每次使用ls -l来查看文件大小的时候都会十分的郁闷,因为全部是以字节为单位的,如下:$ ls -ltotal 1872-rw-r--r-- 1 unimous unimous 1282497 May 17 23:32 10.1.1.72.7974.pdf-rw-r--r-- 1 unimous unimous 626075 May 17 23:32 stockman.pdf-rw-r--r-- 1 unimous unimous 10 May 17 23:32 testfile只要加上-h参数就可以解决这个问题,如下:$ ls -lhtotal 1.9M-rw-r--r-- 阅读全文
posted @ 2011-05-17 23:49 UniMouS 阅读(3453) 评论(0) 推荐(0) 编辑
摘要: 我发现了一种设置终端仿真器窗口默认大小和位置的方法。(一)原理:Ubuntu下的终端仿真器默认为:gnome-terminal,通过执行gnome-terminal命令,即可打开终端仿真器。它的--geometry参数用来修改启动的行列数与窗口坐标。执行:$ gnome-terminal --help-window-optionsUsage: gnome-terminal [OPTION...]Window options; if used before the first --window or --tab argument, sets the default for all windows 阅读全文
posted @ 2011-05-17 22:51 UniMouS 阅读(3259) 评论(0) 推荐(0) 编辑
摘要: 执行代码:sudo vi /usr/share/vte/termcap/xterm找到::co#80:it#8:li#24:\更改80(列数)和24(行数)即可我将我的改为了::co#90:it#8:li#46:\(注:至于为什么,容我以后慢慢研究) 阅读全文
posted @ 2011-05-17 17:59 UniMouS 阅读(3009) 评论(0) 推荐(0) 编辑

版权所有 © 2011-2012 方一曙

Copyright © 2011-2012 Fang Yishu (UniMouS)