Tip #547 Connect your mic to a remote speaker
You can use the following to output your microphone to a remote computer's speaker:Read more »
Tip #546 Move and follow
This can be used instead of "mv" to move file(s) and then cd into the destination folder.Read more »
Tip #544 Change extension of files in the current directory
This tip is inspired by #27 ( http://www.shell-fu.org/lister.php?id=27 ) which I think is misleading, here's a much more reliable and efficient version:Read more »
- TAGS:
- bash
Tip #542 Implementing join in bash
Implementing "join" in bash (python's join, php's implode, etc.).NOTE: the $ means "type what follows at your terminal prompt" (some people thinks that the $ is part of the command).
Read more »
- TAGS:
Tip #540 Command examples from shell-fu
The following isn't particularly pretty and should be considered a work in progress, but it's quite fun.Get examples of ways a command can be used direct from shell-fu by adding the following alias:
Read more »
Tip #539 Using sed across multiple lines
Sometimes when using sed you find that you need to match across line endings, this can be achieved by getting sed to match the first line and then pulling a second line into the buffer with the N command.For example, if we have a file: Read more »
- TAGS:
- sed
Tip #538 Fast access to frequently used directories
Add the following function/alias combo to your profile for fast directory access:Read more »
- TAGS:
Tip #537 Run a command when not busy
You can use the following to run a command only when the load average is below a certain levelRead more »
- TAGS:
Tip #536 Comparing local and remote files
Suppose we have to find the differences between local file "/tmp/localfile" and remote file "/tmp/remotefile" located on remote host 123.4.5.6This is how can do it:
Read more »
Tip #535 Check PHP Syntax
Here's a simple one liner you can use to syntax check all php files in your working directory.Read more »
- TAGS:
alias aptitude at awk bash bc cal cat cd colrm comm cp csh curl cut date dd df dialog diff dirname dpkg du fc find fuser grep gs gzip history iconv kill ksh last less ln ls lsof lynx m4 md5sum mkdir mkfifo mkisofs mv mysql nc netstat openssl OSX perl ping popd ps pushd python read redirection rm scp screen sed sort ssh stat sudo svn tail tar tee test top tr uniq vim wc wget xargs