layout | title | tags |
---|---|---|
manual |
xargs - Statistics of command combinations using semicolon |
statistic |
The commands before xargs
: Execute the given command before xargs
.
Command | percentage |
---|---|
w | 12% |
find | 11% |
grep | 9% |
awk | 6% |
sed | 6% |
exec | 6% |
ls | 5% |
name | 4% |
xargs | 2% |
cd | 2% |
su | 2% |
echo | 2% |
id | 2% |
du | 2% |
jp | 1% |
ss | 1% |
curl | 1% |
The commands after xargs
: Execute the given command after xargs
.
Command | Percentage |
---|---|
rm | 10% |
grep | 8% |
xargs | 7% |
echo | 7% |
w | 6% |
su | 5% |
awk | 5% |
mv | 5% |
sed | 5% |
find | 3% |
name | 3% |
jp | 2% |
ls | 2% |
sort | 2% |
du | 2% |
usermod | 1% |
tar | 1% |
bc | 1% |
tail | 1% |
sleep | 1% |
less | 1% |
ss | 1% |
cd | 1% |
mkdir | 1% |
batch | 1% |
sudo | 1% |
nslookup | 1% |
man | 1% |
top | 1% |
ftp | 1% |
rmdir | 1% |
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.
- Numeric zero padding file rename
- restore the contents of a deleted file for which a descriptor is still available
- grep files by date and delete
- find svn uncommitted files and list their properties
- Find corrupted jpeg image files
- rename all images in folder with original date time from exif data
- Ensure path permissions from '.' prior to root
- sync svn working copy and remote repository (auto adding new files)
- automatically add and remove files in subversion
- Kill processes hogging up CPU (Flash after resume)
- Url Encode
- Exclude dumping of specific tables with same prefix from a single database
- How to find all open files by a process in Solaris 10
- Recursively remove directories less than specified size
- Arch Linux sort installed packages by size
- Recursively remove all empty directories
- Remove all intermediate docker images after build
- Cross-region delete aws ec2 image
- urldecoding
- Play flash videos in VLC
- Phrack 66 is out, but the .tar.gz is not there yet on phrack.org's website
- Get the rough (german) time from Twitter by @zurvollenstunde
- Get the rough (german) time from Twitter by @zurvollenstunde
- List your largest installed packages.
- Bulk install
- Replace duplicate files by hardlinks
- find all files containing a pattern, open them using vi and place cursor to the first match, use 'n' and ':n' to navigate
- Find corrupted jpeg image files
- Show demo of toilet fonts
- Kill processes that have been running for more than a week
- Compile all .less files to .css
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- search for a pattern (regex) in all text files (ignoring binary files) in a directory tree
- Move all but the newest 100 emails to a gzipped archive
- Edit all files found having a specific string found by grep
- Edit all files found having a specific string found by grep
- Monitor logs in Linux using Tail
- FInd the 10 biggest files taking up disk space
- Remove string with several escaped characters from all files under given path
- Change string in many files at once and more.
- Recursively remove all empty directories
- Replicate a directory structure dropping the files
- Find and delete oldest file of specific types in directory tree
- Resolve *.so dependencies in current directory and copy to /tmp/build directory
- find files containing specifc pattern on filename and specific patternts in its content, open all in textmate
- Play flash videos in VLC
- /bin/rm: Argument list too long.
- Remove all directories less than 1 MB in size in or below current directory
- a find and replace within text-based files
- find all files containing a pattern, open them using vi and place cursor to the first match, use 'n' and ':n' to navigate
- restore the contents of a deleted file for which a descriptor is still available
- grep files by date and delete
- Ensure path permissions from '.' prior to root
- sync svn working copy and remote repository (auto adding new files)
- automatically add and remove files in subversion
- Edit all files found having a specific string found by grep
- Edit all files found having a specific string found by grep
- How to find all open files by a process in Solaris 10
- Remove string with several escaped characters from all files under given path
- Change string in many files at once and more.
- Recursively remove all empty directories
- Remove all intermediate docker images after build
- find files containing specifc pattern on filename and specific patternts in its content, open all in textmate
- Play flash videos in VLC
- Get the rough (german) time from Twitter by @zurvollenstunde
- Get the rough (german) time from Twitter by @zurvollenstunde
- a find and replace within text-based files
- Bulk install
- Numeric zero padding file rename
- restore the contents of a deleted file for which a descriptor is still available
- grep files by date and delete
- find svn uncommitted files and list their properties
- sync svn working copy and remote repository (auto adding new files)
- automatically add and remove files in subversion
- Kill processes hogging up CPU (Flash after resume)
- How to find all open files by a process in Solaris 10
- Recursively remove directories less than specified size
- Arch Linux sort installed packages by size
- Remove all intermediate docker images after build
- Play flash videos in VLC
- Bulk install
- bulk rename files with sed, one-liner
- bulk rename files with sed, one-liner
- Purge application's residual config & orphans
- Play musical notes from octave of middle C
- Convert a script to one-liner
- Compile all .less files to .css
- archive all files containing local changes (svn)
- Url Encode
- Move all but the newest 100 emails to a gzipped archive
- extracting the email-server's ip-address.
- Get the rough (german) time from Twitter by @zurvollenstunde
- Get the rough (german) time from Twitter by @zurvollenstunde
- rename multiple files with different name, eg converting all txt to csv
- find all files containing a pattern, open them using vi and place cursor to the first match, use 'n' and ':n' to navigate
- Show demo of toilet fonts
- Kill processes that have been running for more than a week
- Edit all files found having a specific string found by grep
- Edit all files found having a specific string found by grep
- Monitor logs in Linux using Tail
- FInd the 10 biggest files taking up disk space
- Remove string with several escaped characters from all files under given path
- Change string in many files at once and more.
- Find and delete oldest file of specific types in directory tree
- find files containing specifc pattern on filename and specific patternts in its content, open all in textmate
- Remove all directories less than 1 MB in size in or below current directory
- a find and replace within text-based files
- Numeric zero padding file rename
- bulk rename files with sed, one-liner
- bulk rename files with sed, one-liner
- Move lots files with AWK
- restore the contents of a deleted file for which a descriptor is still available
- grep files by date and delete
- Compile all .less files to .css
- git clone all user repos
- Find and delete oldest file of specific types in directory tree
- compile source & then remove the dev tools you needed to install
- urldecoding
- rename multiple files with different name, eg converting all txt to csv
- Find corrupted jpeg image files
- Show demo of toilet fonts
- Kill processes that have been running for more than a week
- Exclude dumping of specific tables with same prefix from a single database
- Remove string with several escaped characters from all files under given path
- Find and delete oldest file of specific types in directory tree
- Resolve *.so dependencies in current directory and copy to /tmp/build directory
- find files containing specifc pattern on filename and specific patternts in its content, open all in textmate
- /bin/rm: Argument list too long.
- Find corrupted jpeg image files
- Compile all .less files to .css
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- automatically add and remove files in subversion
- Play flash videos in VLC
- /bin/rm: Argument list too long.
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- Get the latest ftp file from ftp server on local machine with lftp and bash. (Piped commands inside lftp).
- Replicate a directory structure dropping the files
- Find and list users who talk like "lolcats"
- Remove all directories less than 1 MB in size in or below current directory
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- git clone all user repos
- Play flash videos in VLC
- Create subdirectory and move files into it
- Phrack 66 is out, but the .tar.gz is not there yet on phrack.org's website
- draw rhomb
- Get bucket policy from a s3 buckets list
- Get top N files in X directory
- lsof - cleaned up for just open listening ports, the process, and the owner of the process
- Phrack 66 is out, but the .tar.gz is not there yet on phrack.org's website
- Better "hours of video" summary for each file/dir in the current directory
- Extract the emoticons regex from a running skype process
- How to find all open files by a process in Solaris 10
- find files containing specifc pattern on filename and specific patternts in its content, open all in textmate
- Play flash videos in VLC
- Phrack 66 is out, but the .tar.gz is not there yet on phrack.org's website
- FInd the 10 biggest files taking up disk space
- Recursively remove directories less than specified size
- Remove all directories less than 1 MB in size in or below current directory
- Bulk install
- Replace duplicate files by hardlinks
- Numeric zero padding file rename
- sync a directory of corrupted jpeg with a source directory
- Find corrupted jpeg image files
- FAST Search and Replace for Strings in all Files in Directory
- Compile all .less files to .css
- Phrack 66 is out, but the .tar.gz is not there yet on phrack.org's website
- git clone all user repos
- Get the rough (german) time from Twitter by @zurvollenstunde
- Get the rough (german) time from Twitter by @zurvollenstunde
- find files between specific date/times and move them to another folder
- find files between specific date/times and move them to another folder
- restore the contents of a deleted file for which a descriptor is still available
- kill all process that belongs to you
- Find running binary executables that were not installed using dpkg
- kill all process that belongs to you
- copy zip files which contains XXX
- copy zip files which contains XXX
- Upgrade pip-installed python packages
- FAST Search and Replace for Strings in all Files in Directory
- rename all images in folder with original date time from exif data
- Move all but the newest 100 emails to a gzipped archive
- Play musical notes from octave of middle C
- Arch Linux sort installed packages by size
- Compile all .less files to .css
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- search for a pattern (regex) in all text files (ignoring binary files) in a directory tree
- Ensure path permissions from '.' prior to root
- git clone all user repos
- Play flash videos in VLC
- automatically add and remove files in subversion
- Kill processes hogging up CPU (Flash after resume)
- Get top N files in X directory
- Move all but the newest 100 emails to a gzipped archive
- Remove all older kernels then the current running kernel for Ubuntu/Debian base system
- Localize a Public IP on a specific interface
- Get the latest ftp file from ftp server on local machine with lftp and bash. (Piped commands inside lftp).
- extracting the email-server's ip-address.
- Export ms access mdb to mysql sql
- Create subdirectory and move files into it
- decompiler for jar files using jad
- /bin/rm: Argument list too long.
- IBM AIX: Verify a sha256sum listing with openssl
- Changes the initial login group for all users with GID > 500 (specified with LIMIT), to group YOURGROUP
- find files between specific date/times and move them to another folder
- automatically add and remove files in subversion
- Find running binary executables that were not installed using dpkg
- Rezip a bunch of files
- move contents of the current directory to the parent directory, then remove current directory.
- /bin/rm: Argument list too long.
- decompiler for jar files using jad
- google search
- Find stock debian package config files that have been modified since installation
- automatically add and remove files in subversion
- find external links in all html files in a directory list
- Get the Volume labels all bitlocker volumes had before being encrypted
- Command to resolve name from Ip address, passing only the last field after seq (C Class for example)
- Better "hours of video" summary for each file/dir in the current directory
- Find corrupted jpeg image files
- Compile all .less files to .css
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- automatically add and remove files in subversion
- Play flash videos in VLC
- /bin/rm: Argument list too long.
- kill all process that belongs to you
- password generator
- Count music files in each directory
- Get the password for PostgreSQL backend db for VMware vRA
- Ultimate current directory usage command
- List your largest installed packages.
- google search
- Find stock debian package config files that have been modified since installation
- automatically add and remove files in subversion
- Command to resolve name from Ip address, passing only the last field after seq (C Class for example)
- Arch Linux sort installed packages by size
- Find stock debian package config files that have been modified since installation
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- Get the Volume labels all bitlocker volumes had before being encrypted
- Count the total amount of hours of your music collection
- Find stock debian package config files that have been modified since installation
- automatically add and remove files in subversion
- Command to resolve name from Ip address, passing only the last field after seq (C Class for example)
- Arch Linux sort installed packages by size
- Compile all .less files to .css
- Converts Character Set of Files in a Folder
- Append html-extension to all files in a directory structure that contains html-code.
- Rename all the files in the current directory into their sha1sum
- Append html-extension to all files in a directory structure that contains html-code.
- Get last changed revision to all eclipse projects in a SVN working copy
- Get the Volume labels all bitlocker volumes had before being encrypted
- Command to resolve name from Ip address, passing only the last field after seq (C Class for example)
- Find corrupted jpeg image files
- Diff 2 file struct - Useful for branch diff and jars diff(uncompressed)
- /bin/rm: Argument list too long.
- Find corrupted jpeg image files
- Command to resolve name from Ip address, passing only the last field after seq (C Class for example)
- /bin/rm: Argument list too long.
- Find corrupted jpeg image files
- Random Wallpaper From Reddit
- kill all process that belongs to you
- scan multiple log subdirectories for the latest log files and tail them
- detect the fastest ldap server on a intranet
- find external links in all html files in a directory list
- Ultimate current directory usage command
- Ultimate current directory usage command
- Changes the initial login group for all users with GID > 500 (specified with LIMIT), to group YOURGROUP
- google search
- small CPU benchmark with PI, bc and time.
- scan multiple log subdirectories for the latest log files and tail them
- pc is ghosted?!
- Compile all .less files to .css
- Compile all .less files to .css
- Delete all Vagrant boxes
- Reorder file with max 100 file per folder
- Extract the emoticons regex from a running skype process
- Get the Volume labels all bitlocker volumes had before being encrypted
- Command to resolve name from Ip address, passing only the last field after seq (C Class for example)
- Arch Linux sort installed packages by size
- How many lines in your PHP project without comments
- Faciliate the work for lftp ('all' is needed if you wanna use it with getopts, otherwise its enough with the lftp line)
- move contents of the current directory to the parent directory, then remove current directory.