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 for this tip.
while [ 1 ]; do ls -l; sleep 2; done
Monitor the result of some command by looping it an infinite while loop. To quit, press Ctrl+C. Thanks to Sreenath for this tip.
while [ 1 ]; do ls -l; sleep 2; done
Perform an md5sum on a device, like a CD
dd if=/dev/hdc | md5sum
You can use this command to convert a Bin/Cue image to an ISO image in a linux system. You may not have the bchunk command - so use yum or apt to install it before converting the image.
bchunk IMAGE.bin IMAGE.cue IMAGE.iso
Configure ‘eth0′ in promiscuous mode to gather packets (sniffing)
ifconfig eth0 promisc
Remove a deb package from the system
dpkg -r package_name
Verify the integrity of a rpm package
rpm --checksig package.rpm
Build a rpm package from a rpm source
rpmbuild --rebuild package_name.src.rpm
Command to download a series of urls with zero padding files…
for ((i=1;i<20;i++))
do wget "http://img55.onemanga.com/mangas/00000004/00000000/Naruto-Pilot-`printf "%02d" $i`.jpg"; done
done
Displays linux tasks in a hierarchical mode
ps -e -o pid,args --forest