随笔分类 -  【Linux集成环境——Bash shell】

【shell脚本学习-4】
摘要:文本处理 #!/bin/bash# 文本处理 # echo # "-n":处理光标在末尾echo -n "Please Input Your Name"read Nameecho -n "Please Input Your Sex"read Sex # "-e:转义"echo -e "Name \t 阅读全文

posted @ 2018-10-26 19:03 activecode 阅读(311) 评论(0) 推荐(0)

【shell脚本学习-3】
摘要:part-1 #!/bin/bash:<<FTP#test [ 1 -eq 2] #条件测试x="abc" #不允许有空格y="abc" [ "$x" != "$y" ] #字符相等判断echo $? #test test "$x" ="$y" echo $? test -n $x #判断字符是为空 阅读全文

posted @ 2018-10-25 10:41 activecode 阅读(263) 评论(0) 推荐(0)

【shell脚本学习-2】
摘要:#!/bin/bash - #echo do you have exetuate this project \n printf "please input your passwd" stty -echo read pass 1.txt | sort > 2.txt #echo "1 6 8 1 4 阅读全文

posted @ 2018-08-23 21:17 activecode 阅读(155) 评论(0) 推荐(0)

【shell脚本学习-1】
摘要:Shell学习笔记 简介: Shell 是一个用C语言编写的程序,它是用户使用Linux的桥梁。Shell既是一种命令语言,又是一种程序设计语言。 Shell 是指一种应用程序,这个应用程序提供了一个界面,用户通过这个界面访问操作系统内核的服务。 Ken Thompson的sh是第一种Unix Sh 阅读全文

posted @ 2018-08-09 13:36 activecode 阅读(553) 评论(0) 推荐(0)

导航