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 ,但我认为这不是你想要的。