shell初级编程
来源:互联网 发布:php企业建站源码 编辑:程序博客网 时间:2024/06/05 03:07
功能:判断输入的用户名是否存在与/etc/passwd中
#!/bin/bashif [ $# -le 0 ];thenecho "Please input the right arg"elsei=`cat /etc/passwd | cut -f1 -d':' | grep -w "$1" -c `if [ $i -le 0 ];thenecho "User $1 is not in the passwd"elseecho "User $1 is in the passwd"fifi
- shell初级编程
- shell初级编程(续)
- Shell 编程小记 --- 初级
- Shell编程小记 初级(二)
- 初级编程
- SHELL初级(二)
- shell脚本初级入门
- shell初级编程问题(一):fi关键字显示红色,运行报语法错误
- Linux Shell 初级篇(1)
- Linux--shell教程-- 初级入门
- 初级shell脚本编写示例
- 初级X编程1
- 初级X编程2
- 初级X编程
- 初级X编程1
- 初级X编程2
- awk编程初级篇
- Sqlite3编程初级入门
- 开发消息驱动的POJO
- Asp.net下比较容易入手的图标控件webchart
- PL/SQL中导出SQL建表语句
- How can extract MathML from GIF image generated by MathType
- 系统重装后,将原有的oracle文件还原回来
- shell初级编程
- java调用存储过程 中DATE参数的处理
- linux内核中usb系统主要的数据结构
- 当我想你的时候
- 拷贝构造函数
- Android在TQ2440开发板上的移植
- shell初级编程(续)
- 色值表
- D3D纹理混合