ubuntu bash let not found - Linux

By Margaret
at 2015-01-12T20:34
at 2015-01-12T20:34
Table of Contents
剛剛在寫bash script的時候
完成後要執行
輸入的command
$ sh test.sh
結果出現
let command not found
上網找到答案 原來只要
$ bash test.sh
執行就沒有問題了
原因是 bin/sh is dash not bash
聽不太懂他的意思 想了解是什麼原因
謝謝~
--
完成後要執行
輸入的command
$ sh test.sh
結果出現
let command not found
上網找到答案 原來只要
$ bash test.sh
執行就沒有問題了
原因是 bin/sh is dash not bash
聽不太懂他的意思 想了解是什麼原因
謝謝~
--
Tags:
Linux
All Comments

By Agnes
at 2015-01-13T18:05
at 2015-01-13T18:05

By Kyle
at 2015-01-15T06:52
at 2015-01-15T06:52

By Faithe
at 2015-01-18T11:48
at 2015-01-18T11:48

By Rosalind
at 2015-01-21T02:06
at 2015-01-21T02:06

By Susan
at 2015-01-23T02:25
at 2015-01-23T02:25

By Wallis
at 2015-01-28T00:01
at 2015-01-28T00:01

By Christine
at 2015-01-29T20:15
at 2015-01-29T20:15

By Audriana
at 2015-01-30T18:43
at 2015-01-30T18:43

By Ingrid
at 2015-01-30T23:35
at 2015-01-30T23:35

By Quanna
at 2015-02-03T15:52
at 2015-02-03T15:52

By Erin
at 2015-02-04T21:44
at 2015-02-04T21:44

By Valerie
at 2015-02-07T12:31
at 2015-02-07T12:31

By Caitlin
at 2015-02-11T02:07
at 2015-02-11T02:07

By Liam
at 2015-02-13T14:03
at 2015-02-13T14:03

By Oscar
at 2015-02-14T15:14
at 2015-02-14T15:14
Related Posts
硬碟spin retry

By Hedwig
at 2015-01-11T21:22
at 2015-01-11T21:22
差異備份對於"刪除"的檔案會紀錄嗎?

By Yedda
at 2015-01-11T21:20
at 2015-01-11T21:20
Ubuntu 14.04 airplay client實作?

By Rachel
at 2015-01-11T20:26
at 2015-01-11T20:26
evernote取代方案 ubuntu14.04

By Rachel
at 2015-01-11T15:43
at 2015-01-11T15:43
debian的第一片找不到automake?

By Rebecca
at 2015-01-11T14:57
at 2015-01-11T14:57