o que quer dizer a opção -p no comando mkdir -p /usr/local/teste??
Versão Imprimível
o que quer dizer a opção -p no comando mkdir -p /usr/local/teste??
man mkdir
Citação:
-p Create intermediate directories as required. If this option is
not specified, the full path prefix of each operand must already
exist. Intermediate directories are created with permission bits
of rwxrwxrwx (0777) as modified by the current umask, plus write
and search permission for the owner. Do not consider it an error
if the argument directory already exists.
Código :