全部博文(168)
发布时间: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.........【阅读全文】
发布时间:2013-09-25 10:57:34
点击(此处)折叠或打开# cat /usr/local/bin/xmlrpc-client.sh#!/bin/bash# author jiyin@redhat.comTEMP=`getopt -o vt: --long target -n 'example.bash' -- "$@"`if [ $? != 0 ] ; then echo "getopt fail, terminating...".........【阅读全文】