首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

片言1

2012-12-27 
只言片语1mysql:-- 存在的话就删掉drop table if exists TABLE_NAMEshell:#判断非空文件[ -s $file ] #判

只言片语1
mysql:

-- 存在的话就删掉drop table if exists TABLE_NAME;


shell:

#判断非空文件[ -s $file ] #判断非空字符串[ -z $str ] #位运算echo 9934234 |awk '{print rshift(and($1,99),3) }';#局部变量,注意subshell,export等作用域function inner(){local ifor((i=0;i<10;i++))do  # do sth;donefor((i=0;i<10;i++))do  innerdone#shell执行mysql,丢弃column名称./mysql -Ne"select 1">cc;

热点排行