摘要: 网上看到的,很好用,收藏一下。一、查看当前发行版可以使用的shell:chao@chao:~$ cat /etc/shells# /etc/shells: valid login shells/bin/csh/bin/sh/usr/bin/es/usr/bin/ksh/bin/ksh/usr/bin/rc/usr/bin/tcsh/bin/tcsh/usr/bin/esh/bin/dash/bin/bash/bin/rbash/usr/bin/screen二、查看当前使用的shell :chao@chao:~$ echo $0bash三、查看当前用户(默认)使用的shell:chao@chao 阅读全文
posted @ 2012-09-01 21:42 vigarbuaa 阅读(3968) 评论(0) 推荐(0) 编辑
摘要: 1. 下载groovy安装包 groovy-src-2.0.1.ziphttp://groovy.codehaus.org/Download2. 在任意路径下unzip unzip groovy-src-2.0.1.zip3. cd groovy-2.0.14. 查看自述文件 cat README.mdThis will generate a distribution similar to the zip you can download on the Groovy download page.To build everything and launch unit tests, use ... 阅读全文
posted @ 2012-09-01 21:36 vigarbuaa 阅读(458) 评论(0) 推荐(0) 编辑