Tentando anexar arquivo ao arquivo tar retorna erro “Não é possível stat: Não existe tal arquivo ou diretório” [closed]

1

Comecei a usar o Linux e pratico o uso de comandos diferentes, como um exercício de aprendizado, eu estava tentando anexar um arquivo a um arquivo tar que eu criei chamado "test.tar" usando este comando:

tar rvf test.tar newfile

Que retornou o erro:

tar: newfile: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

Eu também tentei:

tar -rvf test.tar newfile

Que retornou o mesmo resultado.

    
por b_pcakes 12.06.2015 / 00:26

1 resposta

0

Tente fazer:

echo I will not post any homework questions on Ask Ubuntu > newfile

e tente novamente, pois parece que newfile não existe. (que o comando acima cria)

    
por Fabby 12.06.2015 / 00:35