bash error(104)No such file or directory(解決)

Autosar単語帳(作業中)
https://qiita.com/kaizen_nagoya/items/0927727a94b157df2df8

```shell-session:macOS
$ docker run -v /Users/administrator/Downloads/autosar:/tmp/docker -it kaizenjapan/autosar /bin/bash
```

で出たエラー。ファイルは

```shell:cppdf.sh
!/bin/bash

cd adaptive  
cp ./19-11/*.pdf ../pdf
cd ..
cd classic-2
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-4
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-6
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-8
cp ./19-11/*.pdf ../pdf
cd ..  
cd standards    
cd adaptive
cp ./19-11/*.pdf ../../pdf  
cd ..
cd foundation
cp ./19-11/*.pdf .../../pdf
cd .../../
cd standards-3
cd classic
cp ./19-11/*.pdf ../../pdf
cd ..  
cd tests
cp ./1-2/*.pdf ../../pdf
cd ../../
cd classic
cp ./19-11/*.pdf ../pdf
cd ..   
cd classic-3
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-5
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-7
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-9
cp ./19-11/*.pdf ../pdf
cd ..  
cd standards-2
cd adaptive
cp ./19-11/*.pdf ../../pdf
cd ..  
cd classic
cp ./19-11/*.pdf ../../pdf
cd ../..
```
実行してみた。


```shell-session
#  chmod +x ./cppdf.sh
# ./cppdf.sh 
./cppdf.sh: line 1: !/bin/bash: No such file or directory
cp: target '.../../pdf' is not a directory
./cppdf.sh: line 24: cd: .../../: No such file or directory
./cppdf.sh: line 25: cd: standards-3: No such file or directory
./cppdf.sh: line 26: cd: classic: No such file or directory
./cppdf.sh: line 29: cd: tests: No such file or directory
cp: cannot stat './1-2/*.pdf': No such file or directory
cp: cannot stat './19-11/*.pdf': No such file or directory
./cppdf.sh: line 35: cd: classic-3: No such file or directory
cp: cannot stat './19-11/*.pdf': No such file or directory
./cppdf.sh: line 38: cd: classic-5: No such file or directory
cp: cannot stat './19-11/*.pdf': No such file or directory
./cppdf.sh: line 41: cd: classic-7: No such file or directory
cp: cannot stat './19-11/*.pdf': No such file or directory
./cppdf.sh: line 44: cd: classic-9: No such file or directory
cp: cannot stat './19-11/*.pdf': No such file or directory
./cppdf.sh: line 47: cd: standards-2: No such file or directory
./cppdf.sh: line 48: cd: adaptive: No such file or directory
cp: cannot stat './19-11/*.pdf': No such file or directory
./cppdf.sh: line 51: cd: classic: No such file or directory
cp: cannot stat './19-11/*.pdf': No such file or directory
```


#間違い１

最初の行に#がなかった。

# 間違い２

ピリオド２つじゃなくて３つのところがあった。


```shell:cppdf.sh
#!/bin/bash

cd adaptive  
cp ./19-11/*.pdf ../pdf
cd ..
cd classic-2
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-4
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-6
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-8
cp ./19-11/*.pdf ../pdf
cd ..  
cd standards    
cd adaptive
cp ./19-11/*.pdf ../../pdf  
cd ..
cd foundation
cp ./19-11/*.pdf ../../pdf
cd ../..
cd standards-3
cd classic
cp ./19-11/*.pdf ../../pdf
cd ..  
cd tests
cp ./1-2/*.pdf ../../pdf
cd ../..
cd classic
cp ./19-11/*.pdf ../pdf
cd ..   
cd classic-3
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-5
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-7
cp ./19-11/*.pdf ../pdf
cd ..  
cd classic-9
cp ./19-11/*.pdf ../pdf
cd ..  
cd standards-2
cd adaptive
cp ./19-11/*.pdf ../../pdf
cd ..  
cd classic
cp ./19-11/*.pdf ../../pdf
cd ../..
```


物理記事　上位100
https://qiita.com/kaizen_nagoya/items/66e90fe31fbe3facc6ff

数学関連記事１００
https://qiita.com/kaizen_nagoya/items/d8dadb49a6397e854c6d

言語・文学記事　１００
https://qiita.com/kaizen_nagoya/items/42d58d5ef7fb53c407d6

医工連携関連記事一覧
https://qiita.com/kaizen_nagoya/items/6ab51c12ba51bc260a82

自動車　記事　１００
https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

通信記事１００
https://qiita.com/kaizen_nagoya/items/1d67de5e1cd207b05ef7

日本語（０）一欄
https://qiita.com/kaizen_nagoya/items/7498dcfa3a9ba7fd1e68

英語(0) 一覧
https://qiita.com/kaizen_nagoya/items/680e3f5cbf9430486c7d

転職(0)一覧
https://qiita.com/kaizen_nagoya/items/f77520d378d33451d6fe

仮説（0）一覧（目標100現在40）
https://qiita.com/kaizen_nagoya/items/f000506fe1837b3590df

Qiita(0)Qiita関連記事一覧（自分）
https://qiita.com/kaizen_nagoya/items/58db5fbf036b28e9dfa6

鉄道（０）鉄道のシステム考察はてっちゃんがてつだってくれる
https://qiita.com/kaizen_nagoya/items/26bda595f341a27901a0

安全（0）安全工学シンポジウムに向けて: 21
https://qiita.com/kaizen_nagoya/items/c5d78f3def8195cb2409

一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39

Ethernet 記事一覧　Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794

Wireshark 一覧 wireshark(0)、Ethernet(48) 
https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0

線網（Wi-Fi）空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001

OSEK OS設計の基礎　OSEK(100)
https://qiita.com/kaizen_nagoya/items/7528a22a14242d2d58a3

Error一覧 error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8

官公庁・学校・公的団体（NPOを含む）システムの課題、官（０）
https://qiita.com/kaizen_nagoya/items/04ee6eaf7ec13d3af4c3

「はじめての」シリーズ　 ベクタージャパン　
https://qiita.com/kaizen_nagoya/items/2e41634f6e21a3cf74eb

AUTOSAR(0)Qiita記事一覧, OSEK(75)
https://qiita.com/kaizen_nagoya/items/89c07961b59a8754c869

プログラマが知っていると良い「公序良俗」
https://qiita.com/kaizen_nagoya/items/9fe7c0dfac2fbd77a945

LaTeX(0) 一覧　
https://qiita.com/kaizen_nagoya/items/e3f7dafacab58c499792

自動制御、制御工学一覧（０）
https://qiita.com/kaizen_nagoya/items/7767a4e19a6ae1479e6b

Rust(0) 一覧　
https://qiita.com/kaizen_nagoya/items/5e8bb080ba6ca0281927

小川清最終講義、最終講義（再）計画, Ethernet(100) 英語(100) 安全(100)
https://qiita.com/kaizen_nagoya/items/e2df642e3951e35e6a53

＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.
### 文書履歴(document history)
ver. 0.01 初稿 　20240504
### 最後までおよみいただきありがとう4ざいました。
いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.
Please press the like icon 💚　and follow me for your happy life.