This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ulimit -c unlimited | |
echo 'core_%e.%t.%p' > /proc/sys/kernel/core_pattern |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
ls /boot/ | grep vmlinuz | sed 's@vmlinuz-@linux-image-@g' | grep -v `uname -r` > /tmp/kernelList | |
for I in `cat /tmp/kernelList` | |
do | |
aptitude remove $I | |
done | |
rm -f /tmp/kernelList | |
update-grub | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for doc in ./*.pdf; do | |
convert -units PixelsPerInch -density 150 -type Grayscale -depth 4 -monochrome -compress LZW $doc $doc.tif; | |
echo 'Done with' $doc; | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for doc in ./*.JPG; do | |
convert $doc -resize 50% $doc; | |
echo "Done with" $doc; | |
done |
NewerOlder