layout | title | tags |
---|---|---|
manual |
ln - Statistics of command combinations using pipe |
statistic |
The commands before ln
: Pipe the result of the given command to ln
.
Command | percentage |
---|---|
find | 9% |
w | 9% |
echo | 8% |
cat | 6% |
ls | 6% |
tail | 4% |
du | 4% |
sleep | 3% |
id | 3% |
name | 3% |
ln | 3% |
ip | 3% |
ps | 3% |
ssh | 1% |
ss | 1% |
grep | 1% |
cd | 1% |
iptables | 1% |
curl | 1% |
su | 1% |
host | 1% |
ftp | 1% |
wget | 1% |
service | 1% |
vi | 1% |
rm | 1% |
free | 1% |
date | 1% |
sed | 1% |
ifconfig | 1% |
xargs | 1% |
The commands after ln
: Pipe the result of ln
to the given command.
Command | Percentage |
---|---|
w | 18% |
grep | 15% |
sed | 12% |
head | 9% |
awk | 7% |
echo | 6% |
tail | 4% |
ss | 3% |
xargs | 3% |
ln | 3% |
sort | 3% |
ls | 1% |
man | 1% |
comm | 1% |
vi | 1% |
name | 1% |
sudo | 1% |
kill | 1% |
su | 1% |
host | 1% |
cp | 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.
- Link a deep tree of files all into on directory
- Find all e-mails older than 7 days in the queue and delete them
- search for a pattern (regex) in all text files (ignoring binary files) in a directory tree
- Find dead symbolic links
- find the biggest files recursively, no matter how many
- Recursively scan directories for mp3s and pass them to mplayer
- NSA codename generator
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Search and play youtube videos directly to terminal (no X needed)
- Generate random password, human readable with no special characters.
- Google Translate
- generate random password
- Send Reminders from your Linux Server to Growl on a Mac
- Testing ftp server status
- Get number of users on a minecraft server
- create random string from /dev/urandom (or another length)
- Scans for open ports using telnet
- Generrate Cryptographically Secure RANDOM PASSWORD
- computes the most frequent used words of a text file
- Testing ftp server status
- create random string from /dev/urandom (or another length)
- computes the most frequent used words of a text file
- make soft links from a downloaded bin folder
- Generate random password, human readable with no special characters.
- list all file extensions in a directory
- tail -f a log file over ssh into growl
- edit, view or execute last modified file with a single key-press
- Use Growl to monitor your local apache error logs for new messages
- Replace duplicate files by hardlinks
- Replace duplicate files by hardlinks
- Replace duplicate files by hardlinks
- Test remote SSH server status using telnet (no login required)
- Get number of users on a minecraft server
- See your current RAM frequency
- Search and play youtube videos directly to terminal (no X needed)
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Recursively scan directories for mp3s and pass them to mplayer
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Google Translate
- List only executables installed by a debian package
- Update all outdated Python packages through pip.
- Search and play youtube videos directly to terminal (no X needed)
- Testing ftp server status
- tail -f a log file over ssh into growl
- tail -f a log file over ssh into growl
- Disaster Snapshot (procmail)
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- List only executables installed by a debian package
- Search and play youtube videos directly to terminal (no X needed)
- Search and play youtube videos directly to terminal (no X needed)
- Testing ftp server status
- Testing ftp server status
- Google Translate
- Google Translate
- Google Translate
- Update all outdated Python packages through pip.
- Update all outdated Python packages through pip.
- Update all outdated Python packages through pip.
- full text(CJK) search mails and link the result to $MAILDIR/bingo/cur/
- Read just the IP address of a device
- Replace duplicate files by hardlinks
- Find the uid and gid of your apache process
- Test remote SSH server status using telnet (no login required)
- Generate a random password 30 characters long
- NSA codename generator
- computes the most frequent used words of a text file
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Search and play youtube videos directly to terminal (no X needed)
- Kill all processes that listen to ports begin with 50 (50, 50x, 50xxx,...)
- livehttpheaders (firefox addon) replacement
- Get number of users on a minecraft server
- Generate a random password 30 characters long
- Get listening ports on a localhost
- Test remote SSH server status using telnet (no login required)
- The program listening on port 8080 through IPv6
- Check if TCP port 25 is open
- Capture all plaintext passwords
- search for a pattern (regex) in all text files (ignoring binary files) in a directory tree
- Kill all processes that listen to ports begin with 50 (50, 50x, 50xxx,...)
- Testing ftp server status
- Scans for open ports using telnet
- Show what PID is listening on port 80 on Linux
- To Find CVE fix from the rpm log
- Print a row of characters across the terminal
- Get a BOFH excuse
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Extract all urls from last firefox sessionstore used in a portable way.
- livehttpheaders (firefox addon) replacement
- Google Translate
- Update all outdated Python packages through pip.
- Generrate Cryptographically Secure RANDOM PASSWORD
- create random string from /dev/urandom (or another length)
- create random string from /dev/urandom (or another length)
- Generate a random password 30 characters long
- Symlink most recent file to 'latest' using full paths.
- Generate a random alphanumeric string (works on Mac)
- Find the uid and gid of your apache process
- Search and play youtube videos directly to terminal (no X needed)
- Kill all processes that listen to ports begin with 50 (50, 50x, 50xxx,...)
- Get number of users on a minecraft server
- Get listening ports on a localhost
- Generrate Cryptographically Secure RANDOM PASSWORD
- NSA codename generator
- Testing ftp server status
- Scans for open ports using telnet
- sort lines by length
- Epoch from time protocol port 37
- Get a BOFH excuse
- Capture all plaintext passwords
- Recursively scan directories for mp3s and pass them to mplayer
- search for a pattern (regex) in all text files (ignoring binary files) in a directory tree
- Extract binary from .text section (shellcode)
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Google Translate
- make pretty the netstat output for listening services
- most used commands in history (comprehensive)
- Test remote SSH server status using telnet (no login required)
- Test remote SSH server status using telnet (no login required)
- Test remote SSH server status using telnet (no login required)
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Rips CDs (Playstation, etc.) and names the files the same as the volume name
- Kill all processes that listen to ports begin with 50 (50, 50x, 50xxx,...)
- Kill all processes that listen to ports begin with 50 (50, 50x, 50xxx,...)
- Kill all processes that listen to ports begin with 50 (50, 50x, 50xxx,...)
- Testing ftp server status
- Scans for open ports using telnet