全部博文(168)
发布时间:2013-12-31 19:24:26
点击(此处)折叠或打开#! /bin/sh#caipiao () { awk -v type=$1 ' function sort(ARRAY, ELEMENTS, temp, i, j) { for (i = 2; i <= ELEMENTS; ++.........【阅读全文】
发布时间:2013-10-23 17:12:29
# /usr/sbin/rpc.svcgssd -f -vERROR: GSS-API: error in gss_acquire_cred(): Unspecified GSS failure.Minor code may provide more information - No principal in keytab matchesdesired nameUnable to obtain credentials for 'nfs'unable to obtain root (machine) credentialsdo you have a keytab entry for.........【阅读全文】
发布时间:2013-10-11 11:20:33
xmllint --xpath 'string($xmlPath)' k.xml----------------------------------------------------------------------#common usage:xmllint --xpath '//element/@attribute' filename.xmlxmlstarlet sel -T -t -m '//element/@attribute' -v '.' -n filename.xml# xmllint shell usage:http:// lizards.opensuse.o.........【阅读全文】
发布时间:2013-10-01 09:46:30
http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in......【阅读全文】
发布时间:2013-09-27 16:06:51
点击(此处)折叠或打开#1、strip_c_comment1.awk 正则方法BEGIN { ORS = "" }{ code = code $0 "\n" }END { while ( length(code) ) &nbs.........【阅读全文】