I ran below command:tar cvf ~/data.tar /home/user/data/It showed lot of filenames on the screen, after 10 minutes I see:tar: Exiting with failure status due to previous errorsWhere can I see the error log for tar (is it somewhere under /var/log). I can see that there is 100 Mb difference between the tarred version and the original. I want to know the names of missing files from newly created archive.du -sh data.tar /home/user/data5.7G     data.tar5.8G      /home/user/dataUsing GNU tar 1.27.1
Where to view error log for already finished tar archive command?
logs;tar
tar is an interactive command, not a service and does not produce log files.Its output is sent to stdout and errors to stderr.You can redirect the output streams to files, but you would need to run it again.tar cvf ~/data.tar /home/user/data/ > tar_stdout.log 2> tar_stderr.logAnd examine the contents of the file tar_stderr.kog.Or combine both streams into one file:tar cvf ~/data.tar /home/user/data/ &> tar.log