Mount ISO images in Linux using the command line
This is a widespread tip but it was missing from Tips4Linux.comIf you want to mount an ISO image using the Terminal you can use sudo mount -o loop image_file.iso /path/to/mount/folder
This is a widespread tip but it was missing from Tips4Linux.comIf you want to mount an ISO image using the Terminal you can use sudo mount -o loop image_file.iso /path/to/mount/folder
Say you have a folder full of downloads and you don’t need the files you got prior to the day before yesterday. This command will search for and archive all files bigger than 100Kb and older than 48hrs: find /path/to/directory/ -type f -mtime -2 -size +100k | xargs tar -zcvf archive.tgz
Want to convert a subtitle file to a different encoding? Use iconv -f WINDOWS-1253 -t ISO-8859-7 subtitle_file.srt
Afraid you might mess up your MBR? Back up the bootsector: dd if=/dev/hda of=bootsector.img bs=512 count=1 If anything goes wrong, you can boot from a LiveCD and restore the bootsector with dd if=bootsector.img of=/dev/hda