Ask Question

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

+2
Answers (1)
  1. 26 May, 03:51
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers