Skip to content

Latest commit

 

History

History
236 lines (141 loc) · 5.95 KB

unzip_statistics.md

File metadata and controls

236 lines (141 loc) · 5.95 KB
layout title tags
manual
unzip - Statistics of command combinations using semicolon
statistic

Before

The commands before unzip: Execute the given command before unzip.

Command percentage
zip 18%
ip 18%
w 13%
name 13%
find 11%
echo 3%
grep 3%
ls 3%
top 1%
curl 1%
awk 1%
bzip2 1%
mkdir 1%
cd 1%
cat 1%

After

The commands after unzip: Execute the given command after unzip.

Command Percentage
rm 25%
grep 20%
less 10%
ss 10%
cd 5%
echo 5%
ps 5%
top 5%
head 5%
sort 5%
sed 5%

Related Scenarios

Below are the scenarios for all command combinations above.

The description in the table is referenced from and can be used to search the one-line-command or the scripts in the website of CommandLineFu.

Execute zip before unzip

  • Recursively unzip archives to their respective folder
  • copy zip files which contains XXX
  • get a list of top 1000 sites from alexa
  • Unpack magnatune flac album and move artwork into album dir
  • Unzip all zip files in a directory into a newly created directory based on zip file name
  • uncompress file that is compressed multiple times
  • Write in a text file the contents of all the zip files in a directory.
  • find which of the zip files contains the file you're searching for
  • Grep through zip files
  • Make a dedicated folder for each zip file

Execute ip before unzip

  • Recursively unzip archives to their respective folder
  • copy zip files which contains XXX
  • get a list of top 1000 sites from alexa
  • Unpack magnatune flac album and move artwork into album dir
  • Unzip all zip files in a directory into a newly created directory based on zip file name
  • uncompress file that is compressed multiple times
  • Write in a text file the contents of all the zip files in a directory.
  • find which of the zip files contains the file you're searching for
  • Grep through zip files
  • Make a dedicated folder for each zip file

Execute w before unzip

  • Recompress all files in current directory from gzip to bzip2
  • Recursively unzip archives to their respective folder
  • get a list of top 1000 sites from alexa
  • uncompress file that is compressed multiple times
  • Search for classes in Java JAR files.
  • find which of the zip files contains the file you're searching for
  • gunzip all .gz file in current dir

Execute name before unzip

  • Recompress all files in current directory from gzip to bzip2
  • Recursively unzip archives to their respective folder
  • unzip all zip files under a current directory in the directory those files were in
  • Recompress all files in current directory from gzip to bzip2
  • Search for classes in Java JAR files.
  • find which of the zip files contains the file you're searching for
  • Grep through zip files

Execute find before unzip

  • Recompress all files in current directory from gzip to bzip2
  • Recursively unzip archives to their respective folder
  • Recompress all files in current directory from gzip to bzip2
  • Search for classes in Java JAR files.
  • find which of the zip files contains the file you're searching for
  • Grep through zip files

Execute echo before unzip

  • Search for packages, ranked by popularity
  • Search for classes in Java JAR files.

Execute grep before unzip

  • uncompress file that is compressed multiple times
  • gunzip all .gz file in current dir

Execute ls before unzip

  • gunzip all .gz file in current dir
  • Grep through zip files

Execute top before unzip

  • get a list of top 1000 sites from alexa

Execute curl before unzip

  • get a list of top 1000 sites from alexa

Execute awk before unzip

  • uncompress file that is compressed multiple times

Execute bzip2 before unzip

  • uncompress file that is compressed multiple times

Execute mkdir before unzip

  • decompiler for jar files using jad

Execute cd before unzip

  • Batch edition of all OpenOffice.org Writer files in the current directory (body text)

Execute cat before unzip

  • gunzip all .gz file in current dir

Execute rm after unzip

  • Search recursive all docx files for SearchTerm and print its name
  • Unpack magnatune flac album and move artwork into album dir
  • Rezip a bunch of files
  • decompiler for jar files using jad
  • gunzip all .gz file in current dir

Execute grep after unzip

  • Search recursive all docx files for SearchTerm and print its name
  • Search for classes in Java JAR files.
  • Search for classes in Java JAR files.
  • grep in .odt files

Execute less after unzip

  • Search for classes in Java JAR files.
  • Quickly find a count of how many times invalid users have attempted to access your system

Execute ss after unzip

  • Search for classes in Java JAR files.
  • Quickly find a count of how many times invalid users have attempted to access your system

Execute cd after unzip

  • unzip all zip files under a current directory in the directory those files were in

Execute echo after unzip

  • Search recursive all docx files for SearchTerm and print its name

Execute ps after unzip

  • get a list of top 1000 sites from alexa

Execute top after unzip

  • get a list of top 1000 sites from alexa

Execute head after unzip

  • get a list of top 1000 sites from alexa

Execute sort after unzip

  • Quickly find a count of how many times invalid users have attempted to access your system

Execute sed after unzip

  • Batch edition of all OpenOffice.org Writer files in the current directory (body text)