The syntax of the mode is the same as the chmod command. -m: This option is used to set the file modes, i.e.We’ve also provided the -v option, so that we can see it in action. Following is the output of one such execution. If we specify the -p option, the directories will be created, and no error will be reported.If we do not specify the -p option, and request the creation of directories, where parent directory doesn’t exist, we will get the following output – If the first and second directories do not exist, due to the -p option, mkdir will create these directories for us.Suppose you execute the following command –.If the directories exist, no error is specified. -p: A flag which enables the command to create parent directories as necessary.-v or –verbose: It displays a message for every directory created.SORT command in Linux/Unix with examples.AWK command in Unix/Linux with examples.Sed Command in Linux/Unix with examples.Top 10 High Paying Jobs That Demand SQL.Top 10 Highest Paying IT Certifications in 2020.ISRO CS Syllabus for Scientist/Engineer Exam.ISRO CS Original Papers and Official Keys. GATE CS Original Papers and Official Keys.
0 Comments
Leave a Reply. |