Ask Question
30 May, 13:22

Write an Unix shell script that does the following: o Creates a directory, projectFiles Creates 3 additional directories (as subdirectories of projectFiles) : source, data, and results. Submit a single text file containing your shell commands

+4
Answers (1)
  1. 30 May, 14:57
    0
    mkdir - p / path/{projectFiles/{source, data, results}}

    Explanation:

    mkdir is the command for creating directory in unix shell - p is used for creating several subdirectories at the same time / path / after, the path is given for the directory projectFiles {projectFiles/{source, data, results}} is followed after the path as the directory and subdirectories to be created in curly brackets.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Write an Unix shell script that does the following: o Creates a directory, projectFiles Creates 3 additional directories (as subdirectories ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers