Tag: command

Batch Resize Image

Resize all JPG Files to 800×600 convert -sample 800×600 *.jpg output_file_name

All RPM Packages

Show all rpm packages installed on the system rpm -qa

Import RPM Key

Import public-key digital signature rpm –import /media/cdrom/RPM-GPG-KEY

Optimized Grep Searching

Grep that searches recursively, ignores binary files, and doesn’t look inside Subversion hidden folders. grep -Ir –exclude=”*\.svn*” “pattern” *

Linux Command to Generate a Password

Linux command to create a random password head -n1 /dev/urandom|md5sum -b|head -c 5

Monitor the Result of a Command

Monitor the result of some command by looping it an infinite while loop. To quit, press Ctrl+C. Thanks to Sreenath…

Do Md5 check on CD/DVD/HDD

Perform an md5sum on a device, like a CD dd if=/dev/hdc | md5sum

Convert Bin/Cue Images to ISO Image using Linux Command

You can use this command to convert a Bin/Cue image to an ISO image in a linux system. You may…

Remove Deb Package

Remove a deb package from the system dpkg -r package_name

Verify RPM Package

Verify the integrity of a rpm package rpm –checksig package.rpm