简体   繁体   中英

Processing Files Using Linux commands

I need to find a particular zip folder on ubuntu and then unzip the file? How do I do it?

I have used the command 'find' in the beginning but it outputs permission denied.

My commands:

sudo find / -type d -name 'File_name.zip'

This is the error I am getting

在此处输入图片说明

I have resolved the issue I was facing

I changed my command to

sudo find / -name 'File_name.zip' 2>/dev/null

as the zip folder is not considered as directory and therefore 'd' was not required.

I am now getting accurate output

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM