ChinaUnix.net
相关文章推荐:

0331m color

本帖最后由 eatmango 于 2012-12-20 18:21 编辑 1. 显示彩色目录列表 打开/etc/bashrc, 加入如下一行: alias ls="ls --color" 下次启动bash时就可以像在Slackware里那样显示彩色的目录列表了, 其中颜色的含义如下: 1. 蓝色-->目录 2. 绿色-->可执行文件 3. 红色-->压缩文件 4. 浅蓝色-->链接文件 5. 灰色-->其他文件 我的ls 直接是显示彩色目录列 我在/etc 找不到bashrc文件,那我在那里可以作...

by eatmango - Linux新手园地 - 2012-12-20 19:28:48 阅读(3204) 回复(2)

相关讨论

Last Updated 2/20/06The SDL_Surface structure has an element called the color key. The color key is the color you don't want to show up when blitting the surface. This tutorial covers how to use the color key. Say you wanted to apply this stick figure named "Foo": To this background: But you didn't want this blue background from the stick figure to pop up: In order for the blue background not...

by whtonline - Linux文档专区 - 2006-05-26 11:31:12 阅读(401) 回复(0)

http://www.cublog.cn/u/7460/?u=http://www.cublog.cn/u/7460/showart.php?id=99297 今天在freshmeat见到了这么一个项目: colorshell http://svn.chezphil.org/colourshell/trunk/colourshell.sh 其实也就是一个简单的脚本,加上注释才短短一百多行。下载过来保存为 colorshell.sh ,然后在bash里面 . colorshell.sh,搞定。 每个命令都是彩色的…… 漂亮,而且清爽。我经常需要执行make,如此一来就能在屏幕上的一堆输出里面...

by anthonyho - Linux文档专区 - 2006-04-19 22:31:35 阅读(853) 回复(0)

CacheFS笔记 CacheFS文件系统主要用于改善远程文件系统的性能(如NFS),或光驱等慢速设备。它对NFS服务器没有作用,它只影响客户机。 ########################################################## 主要步骤有三步: 1、 创建Cache mkdir /cache cfsadmin –c /cache/cache0 2、 创建挂载点 mkdir /data 3、 挂载Cache文件系统 mount -F cachefs –o backfstype=nfs,cachedir=/cache/cache0,\ cacheid=data_cache host1:/expo...

by joeandjane - Solaris - 2004-12-23 15:57:05 阅读(1598) 回复(2)

CacheFS笔记\r\n\r\n\r\nCacheFS文件系统主要用于改善远程文件系统的性能(如NFS),或光驱等慢速设备。它对NFS服务器没有作用,它只影响客户机。\r\n\r\n##########################################################\r\n主要步骤有三步:\r\n1、 创建Cache\r\nmkdir /cache\r\ncfsadmin –c /cache/cache0\r\n\r\n2、 创建挂载点\r\nmkdir /data\r\n3、 挂载Cache文件系统\r\nmount -F cachefs –o backfstype=nfs,cachedir=/cac...

by joeandjane - Solaris - 2004-12-22 22:34:15 阅读(3082) 回复(0)

:( 谁知道netscreen 100 &netscreen 10是不是可以相互的上载系统配置? 我现在的防火墙想倒换一下,把100和10 换一下,而策略就不用重配了。我不太懂策略配置

by xuewl - Solaris - 2003-07-02 16:02:29 阅读(732) 回复(0)