o que quer dizer a opção -p no comando mkdir -p /usr/local/teste??
o que quer dizer a opção -p no comando mkdir -p /usr/local/teste??
man mkdir
-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 :