≡ Menu


Linux: Convert .AVI File To Apple iPod / iPhone MP4 [M4V] Format

I store all avi files on my Debian / Ubuntu powered Linux server. How do I convert all avi files and play on an iPhone using Linux command line options? How to play AVI files on an iPhone or iPod?
[click to continue…]

Linux / Unix: Find Out What tty I’m Using

What is a tty under Linux / UNIX? How do I find out what tty I'm on?
[click to continue…]

Bash Shell: Replace a String With Another String In All Files Using sed and Perl -pie Options

How do I replace a string with another string in all files? For example, ~/foo directory has 100s of text file and I'd like to find out xyz string and replace with abc. I'd like to use sed or any other tool to replace all occurrence of the word.
[click to continue…]