In unix shell or commands, we often use Double Quotes (") and Single Quotes ('), but we should understand when we must use Double Quotes or we must use Single Quotes, or we could choose either.
- Single Quotes ('): Shell will send it to Unix Commands without doing any interpretation.
- Double Quotes ("): Shell will send it to Unix Commands after doing interpretation on following characters
- Doller Signs ($)
- Back Quotes (`)
- Backslashs (\)
- Backslashs (\) is the same as Single Quotes (') to the next character followed this Backslash.
For understanding the points above, we must understand the 2 different things: Shell and Unix Commands.
We issue all Unix Commands within Unix Shell environment. Shell will interpret (or say process) strings and variables first before they are sent to Unix Commands. For example: echo, ls are Unix Commands, you will issue these commands in an Unix Shell, like Boune Shell, Kane Shell, etc.
Practice
$ ls
file1 file2
$ echo file*
file1 file2
$ echo "file*"
file*
$ echo $HOME
/home/zhangy
$ echo "$HOME"
/home/zhangy
$ echo '$HOME'
$HOME
Continue to read to see a sample.
Refer to
/home/zhangdaw/> cat testsed
inbasket=/ods/sap/in
filename=$(echo "${inbasket}" | sed 's/\//\\\//g')"\/ash"
echo $filename
echo "ashaaa" | sed -e "s/ash/${filename}/g"
/home/zhangdaw/> ./testsed
\/ods\/sap\/in\/ash
/ods/sap/in/ashaaa



评论 (38)
Once I feel satisfied with his hardened cock I mount him and we start having more sex.
http://www.xoops.org/modules/profile/userinfo.php?uid=74348 ">porn hub
Posted on December 5, 2008 00:46
Once I feel satisfied with his hardened cock I mount him and we start having more sex.
http://www.xoops.org/modules/profile/userinfo.php?uid=74348 ">porn hub
Posted on December 5, 2008 00:47
It's funny goodluck http://forums.jolt.co.uk/member.php?u=1779508 ">redtube eu 452304
Posted on December 13, 2008 19:42
It's funny goodluck http://forums.jolt.co.uk/member.php?u=1779508 ">redtube eu 452304
Posted on December 13, 2008 19:43
This site is crazy :) http://Xavieruss.vidiLife.com ">lesbian masturbation uwena
Posted on December 14, 2008 20:18
This site is crazy :) http://Xavieruss.vidiLife.com ">lesbian masturbation uwena
Posted on December 14, 2008 20:18
perfect design thanks http://mybroadband.co.za/vb/member.php?u=11420 ">youtube-video :)))
Posted on December 16, 2008 05:51
perfect design thanks http://mybroadband.co.za/vb/member.php?u=11420 ">youtube-video :)))
Posted on December 16, 2008 05:52
perfect design thanks http://mybroadband.co.za/vb/member.php?u=11420 ">youtube-video :)))
Posted on December 16, 2008 05:52
good material thanks http://mybroadband.co.za/vb/member.php?u=11421 ">budapestporntube :-)))
Posted on December 16, 2008 09:02
good material thanks http://mybroadband.co.za/vb/member.php?u=11421 ">budapestporntube :-)))
Posted on December 16, 2008 09:03
good material thanks http://mybroadband.co.za/vb/member.php?u=11421 ">budapestporntube :-)))
Posted on December 16, 2008 09:03
Best Site Good Work http://www.scam.com/member.php?u=104578 ">free maxporn 404645
Posted on December 21, 2008 13:22
Best Site Good Work http://www.scam.com/member.php?u=104578 ">free maxporn 404645
Posted on December 21, 2008 13:22
Best Site Good Work http://www.scam.com/member.php?u=104578 ">free maxporn 404645
Posted on December 21, 2008 13:24
Best Site Good Work http://www.scam.com/member.php?u=104578 ">free maxporn 404645
Posted on December 21, 2008 13:24
very best job http://www.scam.com/member.php?u=104832 ">X video 16905
Posted on December 24, 2008 10:40
very best job http://www.scam.com/member.php?u=104832 ">X video 16905
Posted on December 24, 2008 10:41
The director calls cut and the three women are laughing, I ask what is so funny, the say every time they shoot a gang bang video it take a couple of days to get themselves clean http://forums.jolt.co.uk/member.php?u=1789847 ">adult you tube
Posted on December 25, 2008 05:08
The director calls cut and the three women are laughing, I ask what is so funny, the say every time they shoot a gang bang video it take a couple of days to get themselves clean http://forums.jolt.co.uk/member.php?u=1789847 ">adult you tube
Posted on December 25, 2008 05:09
The director calls cut and the three women are laughing, I ask what is so funny, the say every time they shoot a gang bang video it take a couple of days to get themselves clean http://forums.jolt.co.uk/member.php?u=1789847 ">adult you tube
Posted on December 25, 2008 05:09
http://membres.lycos.fr/maffals >genetic disorters
Posted on December 26, 2008 23:24
http://membres.lycos.fr/maffals >genetic disorters
Posted on December 26, 2008 23:24
http://membres.lycos.fr/maffals >genetic disorters
Posted on December 26, 2008 23:24
http://membres.lycos.fr/dertull >zx10r graphics
Posted on December 26, 2008 23:53
http://membres.lycos.fr/dertull >zx10r graphics
Posted on December 26, 2008 23:53
http://membres.lycos.fr/dertull >zx10r graphics
Posted on December 26, 2008 23:54
http://membres.lycos.fr/dertull >zx10r graphics
Posted on December 26, 2008 23:54
He was firmly squeezing her little pale tits, making them red and sore. Soon he was breathing hard and began deep throating his sexy innocent PA http://forums.jolt.co.uk/member.php?u=1789866 ">youtube annett renneberg
Posted on December 27, 2008 05:56
He was firmly squeezing her little pale tits, making them red and sore. Soon he was breathing hard and began deep throating his sexy innocent PA http://forums.jolt.co.uk/member.php?u=1789866 ">youtube annett renneberg
Posted on December 27, 2008 05:57
He was firmly squeezing her little pale tits, making them red and sore. Soon he was breathing hard and began deep throating his sexy innocent PA http://forums.jolt.co.uk/member.php?u=1789866 ">youtube annett renneberg
Posted on December 27, 2008 05:58
She sat up coughing.
Posted on December 27, 2008 06:04
She sat up coughing.
Posted on December 27, 2008 06:05
She sat up coughing.
Posted on December 27, 2008 06:06
She sat up coughing.
Posted on December 27, 2008 06:07
The same hand slide in and began to fondle her tits. Marks groans were getting louder and his thrusts stronger http://forums.jolt.co.uk/member.php?u=1789864 ">single ferrule tube fitting
Posted on December 27, 2008 09:39
The same hand slide in and began to fondle her tits. Marks groans were getting louder and his thrusts stronger http://forums.jolt.co.uk/member.php?u=1789864 ">single ferrule tube fitting
Posted on December 27, 2008 09:39
The same hand slide in and began to fondle her tits. Marks groans were getting louder and his thrusts stronger http://forums.jolt.co.uk/member.php?u=1789864 ">single ferrule tube fitting
Posted on December 27, 2008 09:40