如何可以把命令塞入變數內? - Linux

By Edith
at 2018-10-05T00:27
at 2018-10-05T00:27
Table of Contents
想要把 wc -c a.jpg 輸出的值 塞入變數中
然後用 echo 方式顯示
但是不能用 aa = wc -c a.jpg
Echo $aa
要怎麼做才可以呢?
-----
Sent from JPTT on my iPhone
--
Tags:
Linux
All Comments

By Rae
at 2018-10-07T03:02
at 2018-10-07T03:02

By Belly
at 2018-10-09T15:10
at 2018-10-09T15:10

By Isla
at 2018-10-12T16:50
at 2018-10-12T16:50

By Jacky
at 2018-10-17T05:19
at 2018-10-17T05:19

By William
at 2018-10-19T02:05
at 2018-10-19T02:05

By Mary
at 2018-10-21T05:33
at 2018-10-21T05:33

By Cara
at 2018-10-22T04:46
at 2018-10-22T04:46

By Jake
at 2018-10-26T08:47
at 2018-10-26T08:47

By Hedda
at 2018-10-30T20:44
at 2018-10-30T20:44

By Skylar Davis
at 2018-11-03T00:38
at 2018-11-03T00:38

By Lily
at 2018-11-04T06:36
at 2018-11-04T06:36

By Queena
at 2018-11-08T15:02
at 2018-11-08T15:02

By Rae
at 2018-11-13T10:43
at 2018-11-13T10:43

By Bennie
at 2018-11-15T18:47
at 2018-11-15T18:47

By Anthony
at 2018-11-16T18:11
at 2018-11-16T18:11

By Olive
at 2018-11-21T07:34
at 2018-11-21T07:34

By John
at 2018-11-22T05:12
at 2018-11-22T05:12

By Olive
at 2018-11-22T22:25
at 2018-11-22T22:25

By Selena
at 2018-11-27T21:13
at 2018-11-27T21:13

By Daniel
at 2018-12-02T04:18
at 2018-12-02T04:18
Related Posts
Musicha-原裝Ubuntu 的筆電

By Eartha
at 2018-10-04T00:28
at 2018-10-04T00:28
MPV開啟vaapi硬解播放DVD的ISO檔會有方格

By Quintina
at 2018-10-04T00:24
at 2018-10-04T00:24
apt-get 套件的問題

By Dora
at 2018-10-03T23:12
at 2018-10-03T23:12
GCP的ssh問題

By Olive
at 2018-10-03T20:30
at 2018-10-03T20:30
請問php和mysql網頁的問題

By David
at 2018-10-03T19:35
at 2018-10-03T19:35