查看当前目录下的文件:find.-typef查看当前目录下的文件夹:find.-typed如果文件file1不为空:if[-sfile1];thenecho"file1不为空"fi#!/bin/shforfin`find./testdir-typef`;doif[-s$f];thenecho$fis...
分类:
系统相关 时间:
2014-07-22 23:09:14
阅读次数:
407
1.if 是单分支语句,使用格式如下: if condition ; then statement
….. fi 2.if … else 是双分支语句,使用格式如下: if condition ; then statement …. else
statement …. fi 3.if …elif…e...
分类:
其他好文 时间:
2014-05-01 13:53:51
阅读次数:
356
import java.io.*;import java.util.*;import
java.util.concurrent.*;public class SearchFile{ public static void main(String
... strings) { final int FI....
分类:
其他好文 时间:
2014-05-01 13:18:50
阅读次数:
253
Visual Studio 2005 移植 - WINVER,warning C4996,
error LINK1104一、WINVER Compile result: WINVER not defined. Defaulting to 0x0502
(Windows Server 2003) wi...
Intellectual blocks result in an inefficient
choice of mental tactics or a shortage of intellectual ammunition.Expressive
blocks inhibit your vital ab...
分类:
其他好文 时间:
2014-05-01 08:26:33
阅读次数:
317
描述The SELECT statement is used to select data from
a database.The result is stored in a result table, called the
result-set.大意:select用来从数据库中挑选数据有以下两种形...
分类:
数据库 时间:
2014-05-01 06:14:32
阅读次数:
467
本文转自:http://www.programmersedge.com/post/2013/03/05/ssis-execute-sql-task-mapping-parameters-and-result-sets.aspx#.U18_6PmSxBkA
very common scenario i...
分类:
移动开发 时间:
2014-04-30 18:34:53
阅读次数:
548
package org.apache.struts2.dispatcher;import
com.opensymphony.xwork2.ActionInvocation;import
com.opensymphony.xwork2.Result;import com.opensymphony.xw...
分类:
其他好文 时间:
2014-04-29 18:55:17
阅读次数:
415
Carmichael Numbers An important topic nowadays in
computer science is cryptography. Some people even think that cryptography is
the only important fi....
分类:
其他好文 时间:
2014-04-29 16:31:45
阅读次数:
504
1 public static String makeMD5(String password) { 2
String result = null; 3 4 MessageDigest messageDigest; 5 try { 6 ...
分类:
其他好文 时间:
2014-04-29 10:16:46
阅读次数:
348