Nine Rivers

Molecular modeling in Materials Sciences Web development Programming IT

Entries Tagged ‘DOS’

Get random numbers under BASH and DOS

Both Linux Bash and Windows DOS support random number generation. The random number is ‘stored’ in a system environment variable named “RANDOM” (I believe this variable links to a script to generate the actual random numbers on both systems), use it in the same way as you use other ENV variables.  E.g.

Equivalent of “which” in Windows Command Shell Pankaj Kumars Weblog

如果想要知道一个程序或命令在Windows操作系统上的全路径,请使用下面这个脚本,它和Linux的which命令一样。

  

Your Name (required)

Your Email (required)

Subject

Your Message

留言类型: 一般留言 交换链接

captcha

Enter the validation code here: