码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu中写一个shell脚本的过程

时间:2017-06-01 10:15:25      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:rac   mod   bash   pop   shell脚本   html   class   .sh   content   

gedit hello.sh 

,然后输入

#!/bin/bash
echo "Hello world!"

chmod +x hello.sh

./hello.sh


ubuntu中写一个shell脚本的过程

标签:rac   mod   bash   pop   shell脚本   html   class   .sh   content   

原文地址:http://www.cnblogs.com/clnchanpin/p/6927030.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!