![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
记录常用命令、工具
weixin_39529694
这个作者很懒,什么都没留下…
展开
-
getopts 用法
c语言里面有个getopt_long,可以获取用户在命令下的参数,然后根据参数进行不同的提示或者不同的执行。 [hello@Git shell]$ bash test.sh -a hello this is -a the arg is ! hello [hello@Git shell]$ more test.sh #!/bin/bash while getopts "a:" opt; do...转载 2020-03-16 20:12:10 · 838 阅读 · 0 评论 -
集群任务管理系统SGE
转自:http://blog.sina.com.cn/s/blog_4dfbf1c60100yyon.html 网格计算和SGE 从概念上讲,网格很简单。它是执行任务的计算资源的集合。对用户而言,它就是一个大系统,提供单个切入点,以访问强大而分散的资源。用户将网格视作单个计算资源。资源管理软件(如Sun Grid Engine)接受由用户提交的作业,并根据资源管理策略将作业安排在网格内适当的系统上...转载 2020-03-14 00:12:14 · 592 阅读 · 0 评论 -
Shell脚本中:#!/bin/bash和#!/bin/sh
https://www.cnblogs.com/jonnyan/p/8798364.html 本文参考:https://www.cnblogs.com/aaronLinux/p/6885288.html和http://www.cnblogs.com/baizhantang/archive/2012/09/11/2680453.html 一:解释 #!/bin/sh是指此脚本使用/bin/sh来解释...转载 2020-03-13 21:26:26 · 267 阅读 · 0 评论