Ask Question
1 January, 05:54

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

+3
Answers (1)
  1. 1 January, 08:10
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers