Posted on 2006-10-27 12:02
郭大伟 阅读(281)
评论(0) 编辑 收藏 引用 所属分类:
Linux
ls -l | grep ^d
ls -l | grep '^[^d]'
ls -l | grep '^d.....x..x'
grep "garland" /etc/password
grep -s "garland" /etc/password
ps ax | grep "named"
#!/bin/sh
echo "first name:\c"
read name
echo "second name:\c"
read sexname
echo "third name:\c"
read manname
cp justis.txt garland.txt && echo "if you are seeing this cp OK"
cp wopper.txt garland.txt || echo "if you are seeing this cp failed"
echo &name
echo please input buddy count:
count =
read count
if count == 5
{
echo galrnad 5
}