发布时间:2015-02-10 17:48:26
http://linuxcommand.org/lc3_wss0150.php点击(此处)折叠或打开TEMP_FILE=/tmp/printfile.txttrap "rm $TEMP_FILE; echo 'exising and removed the $TEMP_FILE';exit 0" \SIGHUP SIGINT SIGTERMpr $1 > $TEMP_FILEecho -n "prin.........【阅读全文】
发布时间:2015-02-10 16:12:07
http://linuxcommand.org/lc3_wss0140.phptrue;echo $?false; echo $?......【阅读全文】
发布时间:2015-02-10 15:52:33
http://linuxcommand.org/lc3_wss0120.php点击(此处)折叠或打开#!/bin/bashecho "\$0=$0"echo "\$1=$1"echo "\$2=$2"echo "\$3=$3"echo "\$#=$#"interact.........【阅读全文】
发布时间:2015-02-10 14:45:03
http://linuxcommand.org/lc3_wss0110.phpinteger1 -eq integer2 integer1 is equal to integer2.integer1 -ne integer2 integer1 is not equal to integer2.integer1 -le integer2 integer1 is less than or equal to integer2.integer1 -lt integer2 integer1 is less than integer2.integer1 -ge integer2 integer1.........【阅读全文】
发布时间:2015-02-10 14:30:43
http://linuxcommand.org/lc3_wss0110.php#!/bin/bash echo -n "Type a digit or a letter > " read character case $character in # Check for letters [[:lower:]] | [[:upper:]] ) echo "You typed the letter $character" ;; # Check for dig.........【阅读全文】