Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Linux では、touch- コマンドはファイルを作成します。ただし、常に現在のディレクトリに作成されます。指定したディレクトリにファイルを作成するにはどうすればよいですか?
touch
例えば
touch file ../my_directory
試す
touch ../my_directory/file
../my_directory は作成されませんが、これはあなたが求めたものではないと思います。