1. 程式人生 > >Linux問題tar: Exiting with failure status due to previous

Linux問題tar: Exiting with failure status due to previous

今天在linux上解壓mysql的時候

輸入這個命令

tar -zxvf /home/jokin/Downloads/mysql-5.6.41-linux-glibc2.12-x86_64.tar.gz

然後報錯了:

tar: Exiting with failure status due to previous

後來查查資料才知道是因為沒有許可權,在命令前面加上sudo就行了。