Skip to content

Latest commit

 

History

History
494 lines (306 loc) · 14.4 KB

zip_statistics.md

File metadata and controls

494 lines (306 loc) · 14.4 KB
layout title tags
manual
zip - Statistics of command combinations using semicolon
statistic

Before

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

Command percentage
ip 15%
w 13%
name 12%
zip 12%
find 10%
cd 3%
grep 2%
mysql 2%
awk 1%
mkdir 1%
echo 1%
sed 1%
cat 1%
ls 1%

After

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

Command Percentage
ip 13%
zip 12%
unzip 9%
rm 6%
grep 6%
w 4%
name 4%
echo 4%
cd 3%
sed 2%
exec 1%
cp 1%
history 1%
top 1%
mv 1%
less 1%
ss 1%

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 ip before zip

  • Recursively unzip archives to their respective folder
  • Backup all MySQL Databases to individual files
  • Backup all MySQL Databases to individual files
  • copy zip files which contains XXX
  • Backup all mysql databases to individual files on a remote server
  • bash script to zip a folder while ignoring git files and copying it to dropbox
  • 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
  • convert rar to zip
  • convert rar to zip
  • 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 zip

  • Recompress all files in current directory from gzip to bzip2
  • Backup all MySQL Databases to individual files
  • Recursively unzip archives to their respective folder
  • for x in psql -e\l | awk '{print $1}'| egrep -v "(^List|^Name|\-\-\-\-\-|^\()"; do pg_dump -C $x | gzip > /backups/$x-back.gz
  • Backup all MySQL Databases to individual files
  • Backup all MySQL Databases to individual files
  • Backup all mysql databases to individual files on a remote server
  • get a list of top 1000 sites from alexa
  • uncompress file that is compressed multiple times
  • uncompress file that is compressed multiple times
  • Backup all databases in a MySQL container
  • 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 zip

  • Recompress all files in current directory from gzip to bzip2
  • Recursively unzip archives to their respective folder
  • Backup all MySQL Databases to individual files
  • Backup all MySQL Databases to individual files
  • 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
  • Backup all mysql databases to individual files on a remote server
  • Zip all subdirectories into zipfiles
  • gzip only that files that are not gzipped and are not open by any process
  • Search for classes in Java JAR files.
  • convert rar to zip
  • find which of the zip files contains the file you're searching for
  • Grep through zip files

Execute zip before zip

  • Recursively unzip archives to their respective folder
  • copy zip files which contains XXX
  • bash script to zip a folder while ignoring git files and copying it to dropbox
  • 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
  • convert rar to zip
  • convert rar to zip
  • 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 find before zip

  • Recompress all files in current directory from gzip to bzip2
  • Recursively unzip archives to their respective folder
  • zip all files in a directory, one file per zip
  • Recompress all files in current directory from gzip to bzip2
  • Move all but the newest 100 emails to a gzipped archive
  • Zip all subdirectories into zipfiles
  • gzip only that files that are not gzipped and are not open by any process
  • Search for classes in Java JAR files.
  • make a zip file containing all files with the openmeta tag "data"
  • find which of the zip files contains the file you're searching for
  • Grep through zip files

Execute cd before zip

  • Convert a bunch of file from cbr to cbz
  • generate an initrd file
  • Automator Bash script to create Clean zips in MacOS Finder without __MACOSX metadata
  • Batch edition of all OpenOffice.org Writer files in the current directory (body text)

Execute grep before zip

  • for x in psql -e\l | awk '{print $1}'| egrep -v "(^List|^Name|\-\-\-\-\-|^\()"; do pg_dump -C $x | gzip > /backups/$x-back.gz
  • uncompress file that is compressed multiple times
  • gunzip all .gz file in current dir

Execute mysql before zip

  • Backup all MySQL Databases to individual files
  • Backup all MySQL Databases to individual files
  • Backup all mysql databases to individual files on a remote server

Execute awk before zip

  • for x in psql -e\l | awk '{print $1}'| egrep -v "(^List|^Name|\-\-\-\-\-|^\()"; do pg_dump -C $x | gzip > /backups/$x-back.gz
  • uncompress file that is compressed multiple times

Execute mkdir before zip

  • Extract 2 copies of .tar.gz content
  • decompiler for jar files using jad

Execute echo before zip

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

Execute sed before zip

  • Move all but the newest 100 emails to a gzipped archive
  • Batch edition of all OpenOffice.org Writer files in the current directory (body text)

Execute cat before zip

  • Backup all databases in a MySQL container
  • gunzip all .gz file in current dir

Execute ls before zip

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

Execute ps before zip

  • for x in psql -e\l | awk '{print $1}'| egrep -v "(^List|^Name|\-\-\-\-\-|^\()"; do pg_dump -C $x | gzip > /backups/$x-back.gz

Execute password before zip

  • Backup all mysql databases to individual files on a remote server

Execute ss before zip

  • Backup all mysql databases to individual files on a remote server

Execute top before zip

  • get a list of top 1000 sites from alexa

Execute curl before zip

  • get a list of top 1000 sites from alexa

Execute export before zip

  • tsv file to json file

Execute sort before zip

  • Move all but the newest 100 emails to a gzipped archive

Execute rev before zip

  • Move all but the newest 100 emails to a gzipped archive

Execute exec before zip

  • gzip only that files that are not gzipped and are not open by any process

Execute bzip2 before zip

  • uncompress file that is compressed multiple times

Execute df before zip

  • make a zip file containing all files with the openmeta tag "data"

Execute nc before zip

  • convert rar to zip

Execute ip after zip

  • Backup all MySQL Databases to individual files
  • Recursively unzip archives to their respective folder
  • copy zip files which contains XXX
  • bash script to zip a folder while ignoring git files and copying it to dropbox
  • 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
  • convert rar to zip
  • convert rar to zip
  • 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 zip after zip

  • Recursively unzip archives to their respective folder
  • copy zip files which contains XXX
  • bash script to zip a folder while ignoring git files and copying it to dropbox
  • 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
  • convert rar to zip
  • convert rar to zip
  • 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 unzip after zip

  • 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 rm after zip

  • backup local MySQL database into a folder and removes older then 5 days backups
  • Convert a bunch of file from cbr to cbz
  • 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 zip

  • Search recursive all docx files for SearchTerm and print its name
  • copy zip files which contains XXX
  • Search for classes in Java JAR files.
  • Search for classes in Java JAR files.
  • grep in .odt files
  • find which of the zip files contains the file you're searching for
  • Grep through zip files

Execute w after zip

  • Download all data from Google Ngram Viewer
  • Backup all MySQL Databases to individual files
  • unzip all zip files under a current directory in the directory those files were in
  • Unpack magnatune flac album and move artwork into album dir
  • Grep through zip files

Execute name after zip

  • Backup all MySQL Databases to individual files
  • Recursively unzip archives to their respective folder
  • Unpack magnatune flac album and move artwork into album dir
  • convert rar to zip
  • find which of the zip files contains the file you're searching for

Execute echo after zip

  • Search recursive all docx files for SearchTerm and print its name
  • Check if your webserver supports gzip compression with curl
  • Compare copies of a file with md5
  • Compression formats Benchmark
  • find which of the zip files contains the file you're searching for

Execute cd after zip

  • unzip all zip files under a current directory in the directory those files were in
  • convert rar to zip
  • convert rar to zip
  • Batch edition of all OpenOffice.org Writer files in the current directory (body text)

Execute sed after zip

  • copy zip files which contains XXX
  • Geo Temp
  • Batch edition of all OpenOffice.org Writer files in the current directory (body text)

Execute exec after zip

  • backup local MySQL database into a folder and removes older then 5 days backups
  • Backup files older than 1 day on /home/dir, gzip them, moving old file to a dated file.

Execute cp after zip

  • copy zip files which contains XXX
  • bash script to zip a folder while ignoring git files and copying it to dropbox

Execute history after zip

  • generate a unique and secure password for every website that you login to
  • This generates a unique and secure password with SALT for every website that you login to

Execute top after zip

  • get a list of top 1000 sites from alexa
  • get a list of top 1000 sites from alexa

Execute mv after zip

  • Unpack magnatune flac album and move artwork into album dir
  • Backup files older than 1 day on /home/dir, gzip them, moving old file to a dated file.

Execute less after zip

  • 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 zip

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

Execute wget after zip

  • Download all data from Google Ngram Viewer

Execute mysql after zip

  • Backup all MySQL Databases to individual files

Execute find after zip

  • backup local MySQL database into a folder and removes older then 5 days backups

Execute pwd after zip

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

Execute xargs after zip

  • copy zip files which contains XXX

Execute tar after zip

  • move a lot of files over ssh

Execute ps after zip

  • get a list of top 1000 sites from alexa

Execute head after zip

  • get a list of top 1000 sites from alexa

Execute ls after zip

  • Unpack magnatune flac album and move artwork into album dir

Execute tail after zip

  • Unpack magnatune flac album and move artwork into album dir

Execute df after zip

  • Unpack magnatune flac album and move artwork into album dir

Execute jp after zip

  • Unpack magnatune flac album and move artwork into album dir

Execute date after zip

  • Backup files older than 1 day on /home/dir, gzip them, moving old file to a dated file.

Execute sort after zip

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