Archive

Archive for the ‘How-Tos’ Category

Resizing and Renaming Batches of Images

April 7th, 2010 No comments

I recently had the need to resize a hundred jpeg images of varying sizes, and to get them all down to consistent widths (or heights for the portrait images), and then finally to rename the thumbnail preview images that I had also created.
Read more…

Categories: How-Tos Tags: , , , ,

umask

August 21st, 2009 No comments

umask determines what permissions any new files or directories will have by default. Like file permissions, it historically takes an octal value (e.g. ‘umask 002′), but can also symbolic values (e.g. ‘umask a=rx,ug+w’). I’m going to just focus on the octal values.
Read more…

Categories: How-Tos Tags: , ,

Unix time

August 16th, 2009 No comments

If you should happen to need to know the current time as a unix timestamp, try http://www.unixtime.se/. Alternatively typing

date +%s

at a convenient command line might be faster, and more accurate…

Categories: How-Tos, Links Tags: , , ,

What distro version am I running?

January 13th, 2009 No comments

With any Linux Standard Base compliant distro (Mandriva, openSUSE, Red Hat, Ubuntu, etc…), there is an easy way to find its version number, and code name.

Read more…

Categories: How-Tos Tags: , ,

FFmpeg

January 11th, 2009 No comments

FFmpeg is an open-source command line utility for performing audio/video file conversions. It can be used to simply convert straight from one video format to another, or to crop, pad, rescale, change bit-rates, merge or split out audio and video, and so on…

Read more…

Categories: How-Tos Tags: , , , ,

watch

January 4th, 2009 No comments

I only came across this command fairly recently. It’s a simple command, but immensely useful.

The watch command is used to run a given command at a predefined interval, and to monitor the output in real-time until the watch command is terminated. When run, it initially only displays the first output of the given command, and then only updates it if something in the output changes.

Read more…

Categories: How-Tos Tags: ,

Finally – A 64-bit version of Adobe Flash Player for Linux

November 17th, 2008 No comments

It seems to have been a long time coming, but finally an alpha version has been released. Although it’s an alpha, it’s still a vast improvement over the 32-bit version which I’ve used up until now with the aid of NPS Wrapper.

Read more…

Categories: How-Tos, Links Tags: ,

Remotely shutdown a Windows PC from Linux

August 25th, 2008 No comments

A remote Windows PC can easily be shutdown, assuming you have Samba installed on your Linux box, and you have a user account on the Windows PC that has the necessary rights.

Read more…

Categories: How-Tos Tags: , , , ,

How to mount an ISO file in Linux

August 25th, 2008 No comments

Sometimes burning an ISO file to a CD-ROM just to access its contents is overkill, but there is another way.

Read more…

Categories: How-Tos Tags: , , ,

Iperf – Bandwidth Measurement Tool

April 15th, 2008 No comments

Need a simple way to test the bandwidth between two hosts that you have access to? If so, then just drop Iperf onto both machines. Launch one instance as the server

iperf -s

and the other as the client

iperf -c <Server IP>

then after 10 seconds you’ll have your result.
Read more…

Categories: How-Tos Tags: , ,