最近开始学习linux shell,自我感觉不错,自己尝试写了一个脚本,还能运行,真好。。。
#!/bin/sh
mount -t ntfs /dev/sdb7 /mnt -o force
file=$(find /mnt/ -name '*.wmv')
for var in $file;do
command $var
done
linux命令中touch vi 都可以创建一个文件。
/etc/inittab /etc/init.d 启动文件
重新捡起SQL,
select count(distinct clum) from table1,table2,table3
where table1.clum1 = 852
and table1.clum1 = table2.clum3
and table2.clum2 =table3.clum4
order by table3.clum2;
select * from table1
where clum like '%what%';
阅读(661) | 评论(1) | 转发(0) |