layout | title | tags |
---|---|---|
manual |
nc - Statistics of command combinations using semicolon |
statistic |
The commands before nc
: Execute the given command before nc
.
Command | percentage |
---|---|
w | 18% |
nc | 13% |
echo | 7% |
ss | 4% |
grep | 3% |
cat | 3% |
cd | 2% |
name | 2% |
sed | 2% |
id | 2% |
dd | 2% |
awk | 2% |
ip | 2% |
vi | 1% |
cal | 1% |
find | 1% |
exec | 1% |
su | 1% |
mv | 1% |
tar | 1% |
host | 1% |
sleep | 1% |
man | 1% |
date | 1% |
The commands after nc
: Execute the given command after nc
.
Command | Percentage |
---|---|
w | 13% |
echo | 13% |
nc | 9% |
rm | 5% |
grep | 3% |
ss | 3% |
su | 3% |
cd | 3% |
ip | 2% |
vi | 2% |
sleep | 2% |
awk | 2% |
cat | 1% |
date | 1% |
sudo | 1% |
ps | 1% |
cal | 1% |
sed | 1% |
name | 1% |
tar | 1% |
host | 1% |
ls | 1% |
head | 1% |
dd | 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.
- The simplest way to transport information over a network
- Automatically sync current git project with remote host while editing
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Network Proxy to dump the application level forward traffic in plain text in the console and in a file.
- Viewable terminal session over network.
- ssh tunnel with auto reconnect ability
- Auto download Ubuntu 10.04 LTS with super fast zsync
- Copy with TAR PV and NC
- Plot frequency distribution of words from files on a terminal.
- Clone perms and owner group from one file to another
- Keep SSH tunnel open (PostgreSQL example)
- Simple Video Surveillance by email
- share single file in LAN via netcat
- Autocomplete directories (CWDs) of other ZSH processes
- Get the current svn branch/tag (Good for PS1/PROMPT_COMMAND cases)
- Create a file server, listening in port 7000
- Run netcat to server files of current folder
- delete local and remote git repos if merged into local master
- View facebook friend list [hidden or not hidden]
- put command in a loop to keep trying a connection
- Clean memory and SO cache
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- HTTP redirect
- One command line web server on port 80 using nc (netcat)
- Generate an over-the-top UUID
- Netcat ftp honeypot centos linux (use port 22 for SSH)
- Continuously listen on a port and respond with a fixed message with netcat (and respond to kill signals)
- list all opened ports on host
- Password server
- Restore permissions or ownership from a backup directroy
- Stream the latest offering from your fave netcasts/podcasts
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- Calculate the distance between two geographic coordinates points (latitude longitude)
- Convert all your mp3 to ogg
- The simplest way to transport information over a network
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Spotlight Server Disabled
- First android webpage relay script
- Find and delete all archives like file.ext.nco only if file.ext exists
- Netcat & Tar
- create an application launcher shortcut that allow only one process of it running
- Run netcat to server files of current folder
- get function's source
- Netcat Relay
- Netcat Relay
- delete local and remote git repos if merged into local master
- delete local and remote git repos if merged into local master
- Mount and umount iso files
- Get your local/private IP
- View facebook friend list [hidden or not hidden]
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Pipe music over netcat with mpg123
- Poor man's
- Send multiple attachments using mailx
- Stream the latest offering from your fave netcasts/podcasts
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- Testing writing speed with dd
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Network Proxy to dump the application level forward traffic in plain text in the console and in a file.
- List OSX applications and versions.
- Get Minecraft ≥1.7 Server info (online players etc.) JSON
- Spy audio, it only records if detects a sound or noise
- Encrypt your file using RC4 encryption
- check web server port 80 response header
- View facebook friend list [hidden or not hidden]
- View facebook friend list [hidden or not hidden]
- Netcat ftp brute force
- Search vmware vmx files if Linux guests are set to sync time to host
- Send a local file via email
- create random numbers within range for conjob usage
- Restore permissions or ownership from a backup directroy
- Tail a log-file over the network
- Calculate the distance between two geographic coordinates points (latitude longitude)
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Create the four oauth keys required for a Twitter stream feed
- create an application launcher shortcut that allow only one process of it running
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Bitcoin Brainwallet Private Key Calculator
- Bitcoin Brainwallet Private Key Calculator
- Sync MySQL Servers via secure SSH-tunnel
- Get internal and external IP addresses
- create an application launcher shortcut that allow only one process of it running
- Get the current svn branch/tag (Good for PS1/PROMPT_COMMAND cases)
- delete local and remote git repos if merged into local master
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- List OSX applications and versions.
- Spy audio, it only records if detects a sound or noise
- Join avi files
- Plot frequency distribution of words from files on a terminal.
- Superfast portscanner
- Netcat brute force on administration login panel
- Pipe music over netcat with mpg123
- TCP server on one socket
- Spotlight Server Disabled
- Find and delete all archives like file.ext.nco only if file.ext exists
- traverses directories of $host and $share to created a unified place for rsync backups
- Mount and umount iso files
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- One liner to parse all epubs in a directory and use the calibre ebook-convert utility to convert them to mobi format
- Find and delete all archives like file.ext.nco only if file.ext exists
- get function's source
- Recursive script to find all epubs in the current dir and subs, then convert to mobi using calibre's ebook-convert utility
- One liner to parse all epubs in a directory and use the calibre ebook-convert utility to convert them to mobi format
- Convert all your mp3 to ogg
- get ^DJI
- Get internal and external IP addresses
- Get your local/private IP
- Generate an over-the-top UUID
- embed referred images in HTML files
- Restore permissions or ownership from a backup directroy
- First android webpage relay script
- Autocomplete directories (CWDs) of other ZSH processes
- Run netcat to server files of current folder
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Better PS aliases
- Get internal and external IP addresses
- statistics in one line
- Get your local/private IP
- Test your total disk IO capacity, regardless of caching, to find out how fast the TRUE speed of your disks are
- Poor man's
- Get the current svn branch/tag (Good for PS1/PROMPT_COMMAND cases)
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Calculate the distance between two geographic coordinates points (latitude longitude)
- Redirecting bash output into any X Window
- Superfast portscanner
- Generate an over-the-top UUID
- Restore permissions or ownership from a backup directroy
- tiny proxy in shell to receive on port and write on unix socket
- Viewable terminal session over network.
- Piping Microphone Audio Over Netcat
- Join avi files
- get ^DJI
- Get your local/private IP
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Find and delete all archives like file.ext.nco only if file.ext exists
- List OSX applications and versions.
- Convert all your mp3 to ogg
- Find and delete all archives like file.ext.nco only if file.ext exists
- List OSX applications and versions.
- Quickly (soft-)reboot skipping hardware checks
- Piping Microphone Audio Over Netcat
- Mount and umount iso files
- Clear linux cache
- Auto download Ubuntu 10.04 LTS with super fast zsync
- Re-encode all flac files below
- function to fix files starting with =?UTF-8 and ends with ?=
- Netcat & Tar
- Run netcat to server files of current folder
- Network Folder Copy with Monitoring ( tar + nc + pv )
- Automatically connect to a host with ssh once it is online
- Netcat Relay
- Sync MySQL Servers via secure SSH-tunnel
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Sync MySQL Servers via secure SSH-tunnel
- Performs Layer 7 HTTP DoS attack
- 5 Which Aliases
- Better PS aliases
- Render man page in temporary PDF (works in Gnome)
- irssi log histogram
- irssi log histogram
- Backup a directory structure
- First android webpage relay script
- Get internal and external IP addresses
- Get your local/private IP
- ssh tunnel with auto reconnect ability
- Auto download Ubuntu 10.04 LTS with super fast zsync
- Auto download Ubuntu 10.04 LTS with super fast zsync
- Plot frequency distribution of words from files on a terminal.
- Clone perms and owner group from one file to another
- fumanchu testing app1 w/bad rating
- Clone perms and owner group from one file to another
- create an application launcher shortcut that allow only one process of it running
- create an application launcher shortcut that allow only one process of it running
- something like 'git log -p' but for svn
- something like 'git log -p' but for svn
- Bash function that saves bash functions to file from shell session
- 5 Which Aliases
- Mount and umount iso files
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Mount and umount iso files
- Clear linux cache
- Mount and umount iso files
- Mount and umount iso files
- copy root to new device
- View facebook friend list [hidden or not hidden]
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Sync MySQL Servers via secure SSH-tunnel
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Netcat ftp brute force
- 5 Which Aliases
- Better PS aliases
- Better PS aliases
- Render man page in temporary PDF (works in Gnome)
- Render man page in temporary PDF (works in Gnome)
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- The simplest way to transport information over a network
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Spotlight Server Disabled
- Search google.com on your terminal
- Alternative size (human readable) of directories (biggest first)
- Auto download Ubuntu 10.04 LTS with super fast zsync
- One command line web server on port 80 using nc (netcat)
- One line web server (working with any web browser)
- OSX script to change Terminal profiles based on machine name; use with case statement parameter matching
- Makes you look busy
- Autocomplete directories (CWDs) of other ZSH processes
- Autocomplete directories (CWDs) of other ZSH processes
- Alias to list all functions loaded into bash (that don't start with _). Also shows file it's defined in.
- Show git branches by date - useful for showing active branches
- something like 'git log -p' but for svn
- Get ipv4 remote address bad score using wafsec.com free reputation service api
- move up through directories faster (set in your /etc/profile or .bash_profile)
- move up through directories faster (set in your /etc/profile or .bash_profile)
- postgresql : drop all sequences from the public schema
- delete local and remote git repos if merged into local master
- delete local and remote git repos if merged into local master
- Clean memory and SO cache
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Toggle the Touchpad on or off
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Define a word from Linux Terminal
- Show git branches by date - useful for showing active branches
- telling you from where your commit come from
- search google on os x
- Send multiple attachments using mailx
- Check if your desired password is already available in haveibeenpwnd database. This command uses the API provided by HIBP
- Counting the source code's line numbers C/C++ Java
- Reports file systems with disk usage exceeding 90% on the specified host
- Google verbatim search on your terminal
- Find out if a module is installed in perl
- Key binding to search commandlinefu.com
- Stream the latest offering from your fave netcasts/podcasts
- Run a command if file/directory changes
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- List sub dir, sort by size, the biggest at the end, with human presentation
- Congratulations on new year
- get you public ip address
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Test internet connection
- Uniquely (sort of) color text so you can see changes
- Paste command output to www.pastehtml.com in txt format.
- Paste hardware list (hwls) in html format into pastehtml.com directly from console and return URI.
- clear the cache from memory
- summarize a list of IP addresses, verifying IP address and giving counts for each IP found
- One command line web server on port 80 using nc (netcat)
- One line web server (working with any web browser)
- Show git branches by date - useful for showing active branches
- clean up memory on linux (fedora)
- OSX script to change Terminal profiles based on machine name; use with case statement parameter matching
- Show git branches by date - useful for showing active branches
- Toggle the Touchpad on or off
- Show git branches by date - useful for showing active branches
- View facebook friend list [hidden or not hidden]
- Discover unoptimized MySQL tables and optimize them.
- Show git branches by date - useful for showing active branches
- Generate an over-the-top UUID
- Netcat ftp brute force
- Netcat brute force on administration login panel
- determine if tcp port is open
- Clear RAM cache
- Paste hardware list (hwls) in html format into pastehtml.com directly from console and return URI.
- Check if your webserver supports gzip compression with curl
- Check if your desired password is already available in haveibeenpwnd database. This command uses the API provided by HIBP
- check port open without telnet
- Clear linux cache
- Will email user@example.com when all Rsync processes have finished.
- Get the password for PostgreSQL backend db for VMware vRA
- Reports file systems with disk usage exceeding 90% on the specified host
- Bash function to see if the day ends in "y"
- Easily run a program in the background without losing output
- check4progs(), func to long please refer to description
- function to fix files starting with =?UTF-8 and ends with ?=
- Show git branches by date - useful for showing active branches
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- Backup a directory structure
- Congratulations on new year
- The simplest way to transport information over a network
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Encrypted chat with netcat and openssl (one-liner)
- Spotlight Server Disabled
- First android webpage relay script
- Find and delete all archives like file.ext.nco only if file.ext exists
- Netcat & Tar
- create an application launcher shortcut that allow only one process of it running
- Run netcat to server files of current folder
- get function's source
- Netcat Relay
- Netcat Relay
- delete local and remote git repos if merged into local master
- delete local and remote git repos if merged into local master
- Mount and umount iso files
- Get your local/private IP
- View facebook friend list [hidden or not hidden]
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Toggle the Touchpad on or off
- Pipe music over netcat with mpg123
- Poor man's
- Send multiple attachments using mailx
- Stream the latest offering from your fave netcasts/podcasts
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- Testing writing speed with dd
- Recursively remove directory with many files quickly
- Find and delete all archives like file.ext.nco only if file.ext exists
- Join avi files
- Show git branches by date - useful for showing active branches
- OSX script to change Terminal profiles based on machine name; use with case statement parameter matching
- Autocomplete directories (CWDs) of other ZSH processes
- Show git branches by date - useful for showing active branches
- Hacking the Technicolor TG799vac (and unlocking features for openwrt)
- Re-encode all flac files below
- Mount and umount iso files
- Show git branches by date - useful for showing active branches
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Show git branches by date - useful for showing active branches
- Google's Text-To-Speech in command line
- Pipe the result of a command to IRC (channel or query)
- Show git branches by date - useful for showing active branches
- Create subversion undo point
- search for a file in PATH
- Find all bash functions in a file
- Alias to list all functions loaded into bash (that don't start with _). Also shows file it's defined in.
- Get ipv4 remote address bad score using wafsec.com free reputation service api
- delete local and remote git repos if merged into local master
- Toggle the Touchpad on or off
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- gh or "grep history" - define a function gh combining history and grep to save typing
- Copies currently played song in Audacious to selected directory
- Check if your desired password is already available in haveibeenpwnd database. This command uses the API provided by HIBP
- Stream the latest offering from your fave netcasts/podcasts
- Encrypted chat with netcat and openssl (one-liner)
- Bruteforce a P12 file
- Find all bash functions in a file
- postgresql : drop all sequences from the public schema
- Send multiple attachments using mailx
- Check if your desired password is already available in haveibeenpwnd database. This command uses the API provided by HIBP
- Create higher quality gif from videos
- Key binding to search commandlinefu.com
- SSH monitor
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- Testing reading speed with dd
- Spotlight Server Disabled
- Boot another OS at next startup
- Get ipv4 remote address bad score using wafsec.com free reputation service api
- Mount and umount iso files
- Reboot as a different OS in Grub
- Apache memory usage
- Send a local file via email
- Find out if a module is installed in perl
- Stream the latest offering from your fave netcasts/podcasts
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- search for a file in PATH
- traverses directories of $host and $share to created a unified place for rsync backups
- Autocomplete directories (CWDs) of other ZSH processes
- bash/ksh function: given a file, cd to the directory it lives
- move up through directories faster (set in your /etc/profile or .bash_profile)
- Mount and umount iso files
- bash/ksh function: given a file, cd to the directory it lives
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Define a bash function to interactively pick a subdirectory to cd into
- Converts multiple youtube links to mp3 files
- get you public ip address
- summarize a list of IP addresses, verifying IP address and giving counts for each IP found
- function to verify an IP address - can be used at the shell prompt or in a shell script
- OSX script to change Terminal profiles based on machine name; use with case statement parameter matching
- Get ipv4 remote address bad score using wafsec.com free reputation service api
- convert rar to zip
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- Clear iptables rules safely
- Create subversion undo point
- Join avi files
- Convert a VMWare screencast into a flv file
- Lazy man's vim
- Install phpmyadmin in Debian 6
- Pull up remote desktop for other than gnome/kde eg fluxbox
- Single use vnc-over-ssh connection
- ssh tunnel with auto reconnect ability
- clone an USB stick using dd + see its process
- Automatically connect to a host with ssh once it is online
- Keep SSH tunnel open (PostgreSQL example)
- Simple Video Surveillance by email
- Clean memory and SO cache
- Render man page in temporary PDF (works in Gnome)
- Makes you look busy
- Alias to list all functions loaded into bash (that don't start with _). Also shows file it's defined in.
- something like 'git log -p' but for svn
- delete local and remote git repos if merged into local master
- Toggle the Touchpad on or off
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Reports file systems with disk usage exceeding 90% on the specified host
- get you public ip address
- ROT13 using the tr command
- Stream video to screen with a delay (cyberart)
- Pipe the result of a command to IRC (channel or query)
- Create subversion undo point
- Create the four oauth keys required for a Twitter stream feed
- Auto download Ubuntu 10.04 LTS with super fast zsync
- Bash function that saves bash functions to file from shell session
- Spotlight Server Disabled
- Boot another OS at next startup
- Mount and umount iso files
- Reboot as a different OS in Grub
- Search google.com on your terminal
- postgresql : drop all sequences from the public schema
- Check if your desired password is already available in haveibeenpwnd database. This command uses the API provided by HIBP
- Google verbatim search on your terminal
- urlencoding with one pure BASH builtin
- Netcat & Tar
- Run netcat to server files of current folder
- Get ipv4 remote address bad score using wafsec.com free reputation service api
- Single use vnc-over-ssh connection
- Hostname tab-completion for ssh
- get ^DJI
- search for a file in PATH
- Find all bash functions in a file
- WSL: Change the current directory converting a Windows path to a Linux Path
- Copies currently played song in Audacious to selected directory
- Stream the latest offering from your fave netcasts/podcasts
- search for a file in PATH
- get function's source
- convert rar to zip
- Send and streamming video to web
- Netcat & Tar
- Run netcat to server files of current folder
- Install phpmyadmin in Debian 6
- Network Folder Copy with Monitoring ( tar + nc + pv )
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- Netcat & Tar
- Run netcat to server files of current folder
- Netcat Relay
- postgresql : drop all sequences from the public schema
- Single use vnc-over-ssh connection
- Shows picture exif GPS info if any and converts coords to a decimal degree number
- Fast command-line directory browsing
- list all instances of a file in your PATH directories (without duplicates) in PATH order
- Toggle the Touchpad on or off
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Copies currently played song in Audacious to selected directory
- Show git branches by date - useful for showing active branches
- Show git branches by date - useful for showing active branches
- Stream the latest offering from your fave netcasts/podcasts
- function to fix files starting with =?UTF-8 and ends with ?=
- Get your local/private IP
- Initialise git in working directory with latest Visual Studio .gitignore [Windows]
- Send a local file via email
- Testing reading speed with dd
- Testing writing speed with dd
- Recursively remove directory with many files quickly
- Create subversion undo point
- Create subversion undo point
- First android webpage relay script
- Bare Metal IRC Client
- Key binding to search commandlinefu.com
- search for a file in PATH
- Find out if a module is installed in perl
- Burn an audio CD.
- fumanchu testing app1 w/bad rating
- create an application launcher shortcut that allow only one process of it running
- Create a single-use TCP proxy with copy to stdout
- create an application launcher shortcut that allow only one process of it running
- Makes you look busy
- telling you from where your commit come from
- Counting the source code's line numbers C/C++ Java
- Find all bash functions in a file
- Key binding to search commandlinefu.com
- Find all bash functions in a file
- Boot another OS at next startup
- Reboot as a different OS in Grub
- Autocomplete directories (CWDs) of other ZSH processes
- Run netcat to server files of current folder
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Alias to list all functions loaded into bash (that don't start with _). Also shows file it's defined in.
- get function's source
- Lazy man's vim
- something like 'git log -p' but for svn
- Get ipv4 remote address bad score using wafsec.com free reputation service api
- Check if your desired password is already available in haveibeenpwnd database. This command uses the API provided by HIBP
- Key binding to search commandlinefu.com
- move up through directories faster (set in your /etc/profile or .bash_profile)
- Install phpmyadmin in Debian 6
- Autofocus window after executing some command
- Reports file systems with disk usage exceeding 90% on the specified host
- aptbackup restore
- A video capture command which can be assigned to a keyboard shortcut.
- Quickly (soft-)reboot skipping hardware checks
- Mount and umount iso files
- Autocomplete directories (CWDs) of other ZSH processes (MacOS version)
- Copies currently played song in Audacious to selected directory
- gh or "grep history" - define a function gh combining history and grep to save typing
- Expand tabs
- Discover unoptimized MySQL tables and optimize them.
- Bitcoin Brainwallet Base58 Encoder
- Send multiple attachments using mailx
- Reports file systems with disk usage exceeding 90% on the specified host
- Send multiple attachments using mailx
- Check if your desired password is already available in haveibeenpwnd database. This command uses the API provided by HIBP
- Turn shell tracing and verbosity (set -xv) on/off with 1 command!
- convert rar to zip
- Key binding to search commandlinefu.com
- Stream the latest offering from your fave netcasts/podcasts
- Run a command if file/directory changes
- create screencast (record text and audio simultaneously) using 'script' and 'arecord'
- Clear iptables rules safely