Tip #186 Using comm
You can use diff to see the differences between two files, but it can be useful to see what is the same and more clearly how they differ. This is where comm comes in useful.comm tells you what information is common to two lists and what information appears uniquely in one or the other.
Read more »
Tip #231 Rename many files using find and perl
Rename a lot of files at once: Read more »Tip #404 An interactive perl shell
I've long been frustrated by the lack of an interactive perl shell, where I can enter commands and see the results immediately. Yes, I have tried the perl debugger.Read more »
- TAGS:
- perl
Tip #468 Moved Trac and Subversion repositories to another machine/direct
CASE: You've relocated Subversion and Trac repositories to another machine/directories. You don't want to edit n+1 trac.ini files.You have for example:
/repos/svn-myprojects/my-first-project
/repos/trac-myprojects/my-first-project
/repos/svn-myprojects/my-second-project
/repos/trac-myprojects/my-second-project
...etc...
Change ALL trac.ini repository_dir settings:
trac-mass-repodir-edit.sh:
Read more »
Tip #496 Remove empty directories
Remove all empty directories within the current directoryRead more »
Tip #498 Create file dumps
This script displays the contents of files (or stdin) in ascii, hexadecimal, decimal, octal, and binary formats.Read more »
- TAGS:
- perl
Tip #495 Print Until Regular Expression
Print a file until a regular expression is matched.Read more »
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