当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: solaris8(sparc),为什么ls的没有颜色来区分
 

 

 ·请教高手    »显示摘要«
    摘要: 在solaris中如何将系统的关机权限赋给一个普通用户,使这个普通用户具有关机的权限。 风之幻想 回复于:2004-07-22 12:02:54 将这个用户添加到sysadm这个组里面看看。可以执行shutdown这个命令吗。试试看。希望楼主成功。 nimysun 回复于:2004-07-22 12:13:14 比较简单的方法是给这个命令加上acl,然后在加......
    摘要: 安装 solaris 9 os 的 x86 platform edition 一个用户的切身体验 作者:amy rich 支持异质环境所花费的时间和精力要远超过只支持一种硬件和软件平台所花费的时间和精力。完全使用同质平台所带来的负面影响在于,服务器的性能越高,它所要求的硬件速度就越快,可升级性就越好,但桌面电脑和小型服务器采用的都是廉价的 x86 硬件。为克服这种缺点并向用户提供多平台支......


关于ls命令颜色问题!

solaris8 (sparc),为什么ls的没有颜色来区分文件与目录呢,而redhat 8就有,我把linux上的/etc/dir_colors文件拷至sun上也不行呀,为什么呢? 【程序编程相关:【原创】关于SA-119读书笔记-4(完

【推荐阅读:Solaris 9(intel x86)

【扩展信息:solaris 9 x86安装的一些心得

 lightspeed 回复于:2004-07-24 00:40:40 去 sunfreeware.com 下载  coreutils-4.5.4-sol9-sparc-local.gz

 plumlee 回复于:2004-07-24 01:35:11 原来这个颜色也要安装的呀?!   又学到一招

 寒江獨釣 回复于:2004-07-24 04:04:20 以前这个包叫做fileutil,现在并到coreutil里面去了.光速真不错.加完包以后,还要在.bashrc 或.cshrc 加上alias ls=`/usr/local/bin/ls --color`

 lightspeed 回复于:2004-07-24 04:31:49 寒江兄可真是多面手. 其实我是不用这些东西的, 只是回答问题而已.

很多从 windows 及 linux 转过来的人,动不动就要 gui. 比如这位

就要 color.   unix 的纯洁度越来越差了.

索性好人做到底.

coloured ls output in 10 steps

always dreamt of having the same sort of output on your solaris machine as you would have on linux? here is how you go at that.

   1. coloured output is a feature of the gnu version of ls. so you first have to obtain this version. gnu ls is in the coreutils package. you can download it from (a mirror) of sunfreeware.com.

   2. install the package using the pkgadd command:

root@host /var/tmp> pkgadd -d coreutils-4.5.4-sol9-sparc-local

the following packages are available:

  1  smccoreu     coreutils

                  (sparc) 4.5.4


...   下一页
 ·sun系统维护命令大全 zt    »显示摘要«
    摘要: 1、查看机型:sun的小型机的机型都在面板上写着有,如netra t 1125, 还有比如utra 5,utra 10等等。 2、查看cpu个数 (错误,不正确,因为sun中的top命令不能完全看到所有的cpu情况,与hp用法也不一样) #top cpu states: 99.3% idle, 0.1% user, 0.6% kernel, 0.0% iowait, 0.0% swap 表......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE