Monthly Archives: 六月 2008

redhat enterprise linux改Virtual Desktop名字

在Virtual Desktop点右键configure virtual desktop改名字  然后在configure virtual desktop上面的show里选择name(原来一般是number)
阅读(98 次)

Linux小技巧:生成随机字符串(转)

生成全字符随机的字串:
cat /dev/urandom | strings -n C | head -n L
生成数字加字母的随机字串:
cat /dev/urandom | sed ’s/[^a-zA-Z0-9]//g’ | strings -n C | head -n L
其中C表示字符串的字符数,L表示要生成多少行字符。
winger
Source: http://blog.sina.com.cn/s/blog_54229ea6010096g4.html
阅读(121 次)