Ruby Version Manager (RVM) - https://rvm.io/ Show Sample Output
Opens a window with $1 attached and ready to send.
Pipe serialized data into the command.
This is used to find externally accessible network interfaces; interfaces that others can connect to us with. By then finding the IP address of these interfaces, we can find addresses that other hosts would use in order to connect to us. Show Sample Output
Removes directories which are less than 1028KB total. This works for systems where blank directories are 4KB. If a directory contains 1 MB (1024KB) or less, it will remove the directory using a path relative to the directory where the command was initially executed (safer than some other options I found).
Adjust the 1028 value for your needs.
It would be helpful to test the results before proceeding with the removal. Simply run all but the last two commands to see a list of what will be removed:
du | awk '{if($1<1028)print;}' | cut -d $'\t' -f 2-
If you're unsure what size a blank folder is, test it like this:
mkdir test; du test; rmdir test
This is what I use. You will need netcat installed on both machines. http://stackoverflow.com/a/39323186/3006854
you don't need to echo, just a plain redirect is enough to empty the file
This command will automate the creation of ESSIDs and batch processing in pyrit. Give it a list of WPA/WPA2 access points you're targeting and it'll import those ESSIDs and pre-compute the potential password hashes for you, assuming you've got a list of passwords already imported using:
pyrit -i dictionary import_passwords
Once the command finishes, point pyrit to your packet capture containing a handshake with the attack_db module. Game over.
Show Sample Output
Require: perl -MCPAN -e 'install Acme::POE::Tree' From: http://www.catonmat.net/blog/christmas-tree-in-the-shell/
Mounts a disk-image of a hdd with partitions
vs. map(unicodedata.name, u'\u2022') Show Sample Output
A more simple way to join lines with paste command than sed. Show Sample Output
Given a network interface (eth0 in this example), find its ip address, without CIDR netmask. Show Sample Output
-z, --without-gui -j, --export-id-only -i, --export-id=ID -l, --export-plain-svg=FILENAME In Inkscape Press Ctrl-Shift-o to open object properties panel to give ID to a selected element
This is exactly the same as a wildcard - good for times when wildcards are disabled and when you want have a wildcard of a directory that is not your current ({`ls /path/to/dir`}). Does not work on older versions of Bash though.
This dumps all of your installed perl's config information.
I know this has been beaten to death but finding video files using mime types and printing the "hours of video" for each directory is (IMHO) easier to parse than just a single total. Output is in minutes. Among the other niceties is that it omits printing of non-video files/folders PS: Barely managed to fit it within the 255 character limit :D Show Sample Output
If the problem is an aliased synonym for a command, you can still execute the original command by pre-pending it with a reverse-slash '\'. This works at least in Bash, but I guess the aliasing system refers definitely to Bash (and not only).
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: