Check These Out
Only tested on Linux Ubunty Hardy. Works when file names have spaces. The "-maxdepth 2" limits the find search to the current directory and the next one deeper in this example. This was faster on my system because find was searching every directory before the current directory without the -maxdepth option. Almost as fast as locate when used as above. Must use double quotes around pattern to handle spaces in file names. -print0 is used in combination with xargs -0. Those are zeros not "O"s. For xargs, -I is used to replace the following "{}" with the incoming file-list items from find. Echo just prints to the command line what is happening with mv. mv needs "{}" again so it knows what you are moving from. Then end with the move destination. Some other versions may only require one "{}" in the move command and not after the -I, however this is what worked for me on Ubuntu 8.04. Some like to use -type f in the find command to limit the type.
Refresh the cache of font directory , usefull after you download font (.ttf or other) from various website and you don't want to reboot or relogin . Close your word processor before using the command , after the refresh reopen your word processor , new fonts is avaible !
this bash command sets it so that when you type "screen ", it searches your running screens, and present valid auto-complete choices. The output is .
Note: You must have programmable completion enabled. Check with "shopt progcomp", set with "shopt -s progcomp"
find . -type f -iname '*.flac' # searches from the current folder recursively for .flac audio files
| # the output (a .flac audio files with relative path from ./ ) is piped to
while read FILE; do FILENAME="${FILE%.*}"; flac -cd "$FILE" | lame -b 192 - "${FILENAME}.mp3"; done
# for each line on the list:
# FILE gets the file with .flac extension and relative path
# FILENAME gets FILE without the .flac extension
# run flac for that FILE with output piped to lame conversion to mp3 using 192Kb bitrate
Installs pip packages defining a proxy
Similar to xargs -i, but works with builtin bash commands (rather than running "bash -c ..." through xargs)
say, someone has aliased ls to 'ls --color=always' and you want to temporarily override the alias (it does not override functions)
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
The whatis command displays a short description for the command you list on the command line. It is useful to quickly learn what a command does