+ Responder ao Tópico



  1. #1
    Visitante

    Padrão criação de diretorio com -p

    o que quer dizer a opção -p no comando mkdir -p /usr/local/teste??

  2. #2

    Padrão criação de diretorio com -p

    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 :