Tip #205 Convert permissions to octal
Converts the symbolic permissions to octal (ie: numbers) when using 'ls -l':Read more »
- TAGS:
- sed
Tip #177 Copy and paste from the command line
Add the following alias and function to your profile to be able to copy and paste files at the command line:Read more »
Tip #701 Stream YouTube videos directly to your media player
YouTube is great, but the embedded flash player doesn't offer a lot in the way of customizing your viewing experience. There are quite a few options for downloading flv video files from YouTube, but adding the following function to your bashrc will let you stream them directly to your choice of media player.Read more »
Tip #11
Add commas to all numeric strings in a file, changing "1234567" to "1,234,567"Read more »
- TAGS:
- sed
Tip #172 Create daily backups
To create a set of backed up files with the current date added at the end of the file name try the following:Read more »
- TAGS:
- sed
Tip #209 Directory Tree
The following alias will print the directory structure from the current directory in tree format.Read more »
Tip #43 Using Perl instead of Sed
Prefer Perl over Sed? No problem! To use Perl as a Sed-like program:Read more »
- TAGS:
- sed
Tip #300 Find and replace on specific files
Selective content replace on files. For example to replace '<?' with '<?php' in all PHP files: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