關於bash指令 - Linux

By Elizabeth
at 2016-05-03T22:54
at 2016-05-03T22:54
Table of Contents
在網路上有看到一個方法可以把某個目錄下所有資料夾都變成群組可執行
指令如下
sudo chmod g+x $(find ./ -type d)
但我執行時會出現一些怪怪的訊息, 例如一些資料夾他說根本找不到
另問一下這到底是什麼原理?
他是執行了很多chmod指令還是一個chmod指令後面帶了很長的參數?
如果是後者會不會因為太長而有部份失敗@@"
--
指令如下
sudo chmod g+x $(find ./ -type d)
但我執行時會出現一些怪怪的訊息, 例如一些資料夾他說根本找不到
另問一下這到底是什麼原理?
他是執行了很多chmod指令還是一個chmod指令後面帶了很長的參數?
如果是後者會不會因為太長而有部份失敗@@"
--
Tags:
Linux
All Comments

By William
at 2016-05-08T20:12
at 2016-05-08T20:12

By Blanche
at 2016-05-13T20:11
at 2016-05-13T20:11

By Enid
at 2016-05-16T17:04
at 2016-05-16T17:04

By Daniel
at 2016-05-16T20:16
at 2016-05-16T20:16

By Olive
at 2016-05-19T03:04
at 2016-05-19T03:04

By Genevieve
at 2016-05-19T06:05
at 2016-05-19T06:05

By Bethany
at 2016-05-21T17:05
at 2016-05-21T17:05

By Daph Bay
at 2016-05-23T15:10
at 2016-05-23T15:10

By Michael
at 2016-05-25T01:18
at 2016-05-25T01:18

By Elvira
at 2016-05-26T11:07
at 2016-05-26T11:07

By Blanche
at 2016-05-27T12:27
at 2016-05-27T12:27

By John
at 2016-05-29T19:57
at 2016-05-29T19:57

By Rebecca
at 2016-06-02T19:17
at 2016-06-02T19:17

By Hedda
at 2016-06-04T23:47
at 2016-06-04T23:47
Related Posts
gitbook editor 版本問題

By Genevieve
at 2016-04-30T21:10
at 2016-04-30T21:10
文件內容選取延遲

By Mia
at 2016-04-30T19:27
at 2016-04-30T19:27
安裝ubuntu14.04時與安裝完 文字都亂碼

By Barb Cronin
at 2016-04-30T15:46
at 2016-04-30T15:46
ubuntu-14安裝elasticsearch設定檔問題

By Leila
at 2016-04-29T23:46
at 2016-04-29T23:46
ubuntu 1604 報稅心得

By Christine
at 2016-04-29T22:13
at 2016-04-29T22:13