Deleting Files with Special Character Names
avatar

Have you ever accidently created a file with an unusual name and then tried to remove it, you will find this helpful.  All files in Linux are assigned what is called an inode number.  This unique number allows you to remove a file regardless of it’s name.

To find out the inode number for a file you can type:

stat <filename>

You can also get the inode of every file in a directory using a flag with the ls command:

ls -i
NOTE: The number in front of the file name is the inode number

Now if you want to do a delete by the inode number it is a little but unsual.  You can’t just do an rm you need to do a find and plug the results into the rm command.

find . -inum <inode number> -exec rm -i {} \;

Posted in Linux | Tagged , , | Leave a comment

Motorola Razr Root for ICS OTA
avatar

Here is a tar you can use to root your Razr phone if you have downloaded and installed the Ice Cream Sandwhich Over-the-Air update.

UPDATE:  I have updated the installer to include the Superuser apk so you can more easily update your device and manage your root applications.

Razr_Root_ICS.tgz

Posted in Android, Linux | Leave a comment

Extract the audio from a flash video
avatar

Extract the audio from a flash video.

ffmpeg -i video.flv -acodec copy track.mp3

Posted in Arch, CentOS, Fedora, Guides, Linux | Tagged , | Leave a comment

Unix / Linux: See Colourised Filesystem Disk Space Usage
avatar

This is a neat little program which with give you a “graphical” display of the free space from the command line. http://www.cyberciti.biz/tips/unix-linux-bsd-pydf-command-in-colours.html

Posted in CentOS, Fedora, Guides, Linux, News | Tagged , | Leave a comment

Linux debugfs Hack: Undelete Files
avatar

Linux debugfs Hack: Undelete Files.

Posted in Guides, Linux | Tagged | Leave a comment