1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

File exists, 今日のshell error(42)

Last updated at Posted at 2019-08-06

計算物理学
https://qiita.com/kaizen_nagoya/items/af924f5ac71ff5cc8c89

のdocker内で実行するshell scriptを作成中。

今日のshell error

docker/ubuntu
# ./mkall.sh
mkdir: cannot create directory ‘cp’: File exists
./mkall.sh: line 11: syntax error near unexpected token `('
./mkall.sh: line 11: `mkdir VisualCodes(old)'
# ./mkall.sh
mkdir: cannot create directory ‘cp’: File exists
cp: cannot stat 'urltext0.txt': No such file or directory
../../wgeturl.sh: line 5: ./urllist.txt: No such file or directory
./mkall.sh: line 29: cd: cp/HPCodes: No such file or directory

最初のはフォルダ名で(を使うにはescape sequenceを使わないといかなかったからかも。

ややこしいフォルダ名はやめることにした。URLと全く一緒にする必要はなさそうだから。

次のFile existsは、さっきmkdir 実行してすでにあるから。

次のNo such file or directoryは名前を間違えてた。

その次のNo such file or directoryは、一つ前で名前を間違えていたのでcpできてないため。

Reference

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

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
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

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?