![]() Mkdir returns an exit status of zero if all operations were successful, or a non-zero exit status if operations failed. For detailed information about security contexts, consult your SELinux documentation. If you are using SELinux, this option sets the security context of each created directory to context. ![]() Print a message for each created directory. When this option is specified, no error is reported if a directory already exists. The syntax of mode is the same as with the chmod command.Ĭreate parent directories as necessary. You can use the -m option to set a file mode ( permissions, etc.) for the created directories. If the Documents folder does not already exist, specify the -p option to create it automatically, otherwise the command fails. For instance, if the current directory is /home/hope, and you want to create the directory /home/hope/Documents/writing, you can use the command mkdir Documents/writing. More than one directory may be specified.Ī specified directory can include path information. If the specified directory does not already exist, mkdir creates it. Syntax mkdir directory mkdir -version mkdir -help Options directory
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |