Skip to main content

Thread: Read lines from big zip files


hi:

how see first/last lines in zip file (like head/tail commands)? zip file contains 1 file of big size.

also, possible read lines zipped file 1 one in c++ programming?

it's not idea unzip first due big size.

quote posted lidengdeng view post
how see first/last lines in zip file (like head/tail commands)? zip file contains 1 file of big size.
'zcat' works cat, zipped files.
code:
zcat filename | head -1  zcat filename | tail -1


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Read lines from big zip files


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support