mardi 15 mai 2018

To search for .zip files inside of a download.log,

I am struggling with an assignment.

This is the assignment: Collect specific entries from file or pipe by regular expression or simple text search - from download.log, get all zip file names and their size. Put the output into a new file.

I tried to tackle this problem with grep.

This is what I got so far: grep -E -w '......*|.zip' download.log Executing this command just gives me the entire download.vlog

Does anyone have ideas how to tackle this problem? Thanks in advance

Aucun commentaire:

Enregistrer un commentaire