Linux

Batch resize images using the command line in Linux

If you have a ton of images that need resizing, you can do it all with the imagemagick package:cd /home/user/imagesmkdir resized_imagescp /home/user/images/* /home/user/images/resized_images Now that you have a copy of the files in resized_images, time to resize them all: mogrify -resize 800 *.jpg This will resize them all to a width of 800px while keeping the aspect ratio. [...]

Find out active IPs in a Linux LAN

If you are on a LAN and wish to find out which computers in it currently have access to that certain LAN, you can use the following command: for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null; [ $? -eq 0 ] &[...]


USB devices not mounting in Lucid? Here’s a fix.

If you are pestered by the bug that doesn;t let you mount USB devices in Ubuntu Lucid Lynx, the issue is caused by the floppy module. Disable it with sudo modprobe -r floppy and reboot. [...]


Fix Linux Kernel 2.6.32 and VMWare Workstation 7 issue

After you upgraded to Ubuntu Lucid, you might have noticed that VMWare has stopped working and can’t compile one of it’s modules. The solution to this is simple: download this patch and this script in the sam[...]