摘要: From:http://blog.csdn.net/marujunyy/article/details/84662551、首先编写一个简单的shell脚本test.sh#! /bin/bashecho "Hello world!"filename=`date"+%Y%m%d"`echo $filename2、设置脚本开机自启动方法一: 编辑/etc/init.d/rc.local文件,在最后添加编写的脚本即可。 比如:将/home/test.sh添加为开机自启动 编辑/etc/init.d/rc.local,在末尾添加如下内容:sh /home/test 阅读全文
posted @ 2014-03-06 23:02 泉水叮~咚 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 安装主要是按照这个网址的步骤来的:http://ixdba.blog.51cto.com/2895551/526452执行到make步骤时,出错:root@host:~/iscsitarget-1.4.20.2# makecc: error: /lib/modules/3.5.0-23-generic/build/include/linux/version.h: No such file or directorycc: fatal error: no input filescompilation terminated./bin/sh: 1: [: -le: unexpected operato 阅读全文
posted @ 2014-03-06 13:29 泉水叮~咚 阅读(1334) 评论(0) 推荐(0) 编辑