Lower PowerShell priority, so that to launch processes in the background and work normally with other applications Show Sample Output
This will list all tags that match the live* glob and contain commit 18f6f2 Show Sample Output
This requires wvWare, which under Debian is in the wv package. Alternative converters can be used, e.g., jodconverter, which uses OO.O instead (no X server need be running.)
I submitted a command like this without $0 if $BASH_SOURCE is unset. Therefor, it did only work when using ./script, not using 'sh script'. This version handles both, and will set $mydir in a script to the current working directory. It also works on linux, osx and probably bsd.
Backup your entire system on a tar ball file format.
Fixes MP3 tags encoding (to UTF-8). Batch fixes all MP3s in one directory.
This shows the number of threads allocated per user. Show Sample Output
ls -al gives all files, sort +4n sorts by 5th field numerically
It starts in the current working directory.
It removes the empty directory and its ancestors (unless the ancestor contains other elements than the empty directory itself).
It will print a failure message for every directory that isn't empty.
This command handles correctly directory names containing single or double quotes, spaces or newlines.
If you do not want only to remove all the ancestors, just use:
find . -empty -type d -print0 | xargs -0 rmdir
These series of commands allows you all at once to make a backup of your current config, edit that config, then saves it as the running config and makes it persistent. I would advise knowing what your doing to the config before running this because if you mess up say the port 22 portion, you may get knocked off the system. ;) Don't say I didn't warn ya!
for redhat systems works sometimes :S tested on dell poweredge r7+ systems
Everytime You Run Bash It Will Run And Send The Command To Background In A Loop Forever. This Is Useful In Android To Avoid Getting Discconnected While Using ADB Or Other Services Like SSH By Being Inactive For Long Periods Of Time. In My Case I Get Bash Full Suport Only Through ADB And Also A Decent Python Interpreter Using Python For Android.
Echo $PATH isn't very easy to read. Show Sample Output
just some jq code... Show Sample Output
Use find . -iname "*.py" -type f -print0 | xargs -0 sed -ne 's/^\([ \t]*\)print \(.*\)$/\1print(\2)/p' to see what would be changed.
Get AWS Account ID of AWS Show Sample Output
use this command via ssh on remote machine when you want play video stream or path to file
If you don't have html2text Show Sample Output
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: