FQPN - Path = Filename
VPS server hosts suspect DOS attack if PPS is too high. This limits packets at the interface level. Do "sudo apt-get install iptables-persistent" to make persistent, or, if you already have, reconfigure with "sudo dpkg-reconfigure iptables-persistent" Show Sample Output
Find all books on my systems and move them into folder. The -0 switches are to handle spaces etc. in the filenames. Why would you need this? Locate uses an index, so it's super quick, and xargs is more elegant than a for loop.
I'm sure there's a more elegant sed version for the tr + grep section.
Converts all monkey audio files below currently directory to FLAC. For only current directory, use `for f in *.ape; do avconv -i "$f" "${f%.ape}.flac"; done` To remove APE files afterward, use `rm */*.ape`
Some PDF viewers don't manage form fields correctly when printing. Instead of treating them as transparent, they print as black shapes.
Creates a 2 second video clip from an image.
Sometimes I get FLAC files that RhythmBox can't play but VLC can. So I re-encode them using GStreamer at highest compression.
This will crop each page of the PDF by 10mm left, 11cm bottom, 22pts right, and nothing from the top.
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: