邪火丽—–随意!

企业

Writing by admin on 星期四, 18 of 1月 , 2007 at 4:33 下午

[ Neutral 心情: Neutral ]
不同的企业,有着不同的为人处世环境以及不同的做事方式
但是有一点确是相同的,总有些人的心是黑的。
就像国企,私企,外企
不同的企业不同的企业环境,不同的生存方式。
一个国家的政府影响着一个国家的社会风气
一个国家的社会风气影响着这个国家的所有企业和人民
一个国家的企业和人民又影响着这个国家的政府。

Leave a comment

Category: 未分类

脚本

Writing by admin on 星期二, 9 of 1月 , 2007 at 5:30 下午

[ Hypnotized 心情: Hypnotized ]
做了一个时间服务器。
编写一个脚本,使用户开机系统自动链接服务器校正
在/etc/rc.local
/etc/default
中添加代码。
居然怎么样执行脚本都不能校正。
检查每个地方,原来问题出在修改rc.local文件后没有设置相应的权限
这个简单的一个失误,浪费我一天时间
这是我第一次写脚本。

Leave a comment

Category: 未分类

另外个方法安装中文man

Writing by admin on 星期五, 5 of 1月 , 2007 at 3:59 下午

[ Amused 心情: Amused ]
我用了另外一个办法
先把系统自带的man 删除
sudo apt-get remove manpages-zh
在http://forum.ubuntu.org.cn/viewtopic.php?t=35993&postdays=0&pos×der=asc&start=0
下载新man.ded包
然后sudo dpkg -i manpages-zh-utf8-1.5.deb
vi .bashrc
在里面加入alias cman=’man -M /usr/share/man/zh_CN’
使用中文man
cman xxx
英文man
man xxx
不必要在修改路径
中英两用

Leave a comment

Category: 未分类

中文man

Writing by admin on 星期二, 2 of 1月 , 2007 at 5:26 下午

[ Amused 心情: Amused ]
看了ee设置中文man的帖子
弄了下下,因为我的系统是繁体版的
开始没有修改脚本,执行后导致man不能用
1。 sudo apt-get install manpages-zh
2. 把eexpress的脚本写进一个文件里(假如xxxx)
代碼:
#!/bin/bash
cd /usr/share/man/zh_CN/
for k in *
do
cd $k
for i in *.gz
do
j=`echo ${i%\.gz}`
gunzip $i
iconv -f gb18030 -t utf8 $j >tmp
mv tmp $j
gzip $j
done
cd ..
done

3。 sudo chmod 777 xxxx
然后吧manpath.config
文件中的/usr/share/man路径改为了/usr/share/man/zh_TW
因为我用的是繁体系统所以bash要改动
我重新安装了manpages-zh
然后在执行新脚本
#!/bin/bash
#中文manpages转换编码脚本

cd /usr/share/man/zh_TW/
for k in *
do
cd $k
for i in *.gz
do
j=`echo ${i%\.gz}`
gunzip $i
iconv -f big5 -t utf8 $j >tmp
mv tmp $j
gzip $j
done
cd ..
done
在看了下man 果然好了
太高兴了
感谢ee em11

Leave a comment

Category: 未分类

中文man

Writing by admin on 星期二, 2 of 1月 , 2007 at 5:20 下午

[ Amused 心情: Amused ]
看了ee设置中文man的帖子
弄了下下,开始没有修改脚本所以导致man不能用
1。 sudo apt-get install manpages-zh
2. 把eexpress的脚本写进一个文件里(假如xxxx)
代碼:
#!/bin/bash
cd /usr/share/man/zh_CN/
for k in *
do
cd $k
for i in *.gz
do
j=`echo ${i%\.gz}`
gunzip $i
iconv -f gb18030 -t utf8 $j >tmp
mv tmp $j
gzip $j
done
cd ..
done

3。 sudo chmod 777 xxxx
然后吧manpath.config
文件中的/usr/share/man路径改为了/usr/share/man/zh_TW
因为我用的是繁体系统所以bash要改动
我重新安装了manpages-zh
然后在执行新脚本
#!/bin/bash
#中文manpages转换编码脚本

cd /usr/share/man/zh_TW/
for k in *
do
cd $k
for i in *.gz
do
j=`echo ${i%\.gz}`
gunzip $i
iconv -f big5 -t utf8 $j >tmp
mv tmp $j
gzip $j
done
cd ..
done
在看了下man 果然好了
太高兴了
感谢ee em11

Leave a comment

Category: 未分类

中文man

Writing by admin on 星期二, 2 of 1月 , 2007 at 5:19 下午

看了ee设置中文man的帖子
弄了下下,开始没有修改脚本所以导致man不能用
1。 sudo apt-get install manpages-zh
2. 把eexpress的脚本写进一个文件里(假如xxxx)
代碼:
#!/bin/bash
cd /usr/share/man/zh_CN/
for k in *
do
cd $k
for i in *.gz
do
j=`echo ${i%\.gz}`
gunzip $i
iconv -f gb18030 -t utf8 $j >tmp
mv tmp $j
gzip $j
done
cd ..
done

3。 sudo chmod 777 xxxx
然后吧manpath.config
文件中的/usr/share/man路径改为了/usr/share/man/zh_TW
因为我用的是繁体系统所以bash要改动
我重新安装了manpages-zh
然后在执行新脚本
#!/bin/bash
#中文manpages转换编码脚本

cd /usr/share/man/zh_TW/
for k in *
do
cd $k
for i in *.gz
do
j=`echo ${i%\.gz}`
gunzip $i
iconv -f big5 -t utf8 $j >tmp
mv tmp $j
gzip $j
done
cd ..
done
在看了下man 果然好了
太高兴了
感谢ee em11

Leave a comment

Category: 未分类

Autor

This it is the text where you will have to describe briefly of which blog goes your and that type of things, you cannot excederte in the height of the text because it is a fixed size so that the gray bar adapts well. It is very important that the text is always square with the blue picture. This it is the text where you will have to describe briefly of which blog goes your and that type of things, you cannot