alias 與 字串 - Linux

By Margaret
at 2011-10-13T11:00
at 2011-10-13T11:00
Table of Contents
shell是tcsh
小弟原本要寫一個alias
但一直出錯
簡化到後來 發現
alias test_cmd "echo \" "
這樣是錯的 錯誤訊息如下 會回報沒有能配對的雙引號
Unmatched ".
不過我中間那個雙引號前有反斜線
不知為什麼會這樣?
--
小弟原本要寫一個alias
但一直出錯
簡化到後來 發現
alias test_cmd "echo \" "
這樣是錯的 錯誤訊息如下 會回報沒有能配對的雙引號
Unmatched ".
不過我中間那個雙引號前有反斜線
不知為什麼會這樣?
--
Tags:
Linux
All Comments

By Delia
at 2011-10-14T16:47
at 2011-10-14T16:47

By Ingrid
at 2011-10-15T11:33
at 2011-10-15T11:33

By Frederica
at 2011-10-15T22:48
at 2011-10-15T22:48

By Aaliyah
at 2011-10-17T09:23
at 2011-10-17T09:23

By Faithe
at 2011-10-22T01:47
at 2011-10-22T01:47

By Caroline
at 2011-10-24T21:54
at 2011-10-24T21:54

By Belly
at 2011-10-28T15:12
at 2011-10-28T15:12
Related Posts
在遠端機器執行指令

By Dinah
at 2011-10-13T02:25
at 2011-10-13T02:25
在遠端打firefox卻打開本機端的firefox

By Ula
at 2011-10-13T01:48
at 2011-10-13T01:48
Debian和OpenSUSE的抉擇問題

By Harry
at 2011-10-13T00:55
at 2011-10-13T00:55
如何使用ssh之後再連VNC在只有一個port的時候

By Puput
at 2011-10-12T16:35
at 2011-10-12T16:35
Debian跟BSD上類似killall5的指令?

By Agatha
at 2011-10-12T05:20
at 2011-10-12T05:20