All Tips


7

Tip #813   Monitor open TCP connections

The command below will monitor open TCP connections:

Read more »

7

Tip #796   Find files by mime-type

Use this command to find files of a given mime-type. For example to find all PNG images in a directory or below:

Read more »

4

Tip #787   Create a file of specific size

Recently I needed several files of certain sizes for testing the transfer speed between two machines. Files like this can easily be created with the dd command which lets you create an empty file of desired size.

Read more »
  • TAGS:
  • dd

9

Tip #786   Combine multiple pdfs into one

To combine multiple pdfs into one, for printing purposes or distribution:

Read more »
  • TAGS:
  • gs

2

Tip #785   Convert UTF-8 to WIN-1251

Function to convert UTF-8 to WIN-1251 charset.

Read more »

0

Tip #770   Append a sequential number to a file

The command below will append a number to a file to count events, minutes, actions etc.

Read more »

7

Tip #769   .. revisited

Tip 550 gives a script for a '..' command which will go up n directory levels, however the version there messes up your previous directory so "cd -" will not work. The version below fixes this problem:

.. v1.1
Usage .. [n]
Go up n-levels.
i.e.: .. 3 will go up 3 levels

Read more »

8

Tip #768   Stream shell commands to Twitter

When I read the tip yesterday (Twitter from the terminal), I thought it would be fun to set something up to tweet all the commands I enter. After a bit of playing around I have come up with the following:

First you'll need to create a script, it doesn't matter what you call it, just remember the name and path to it for later.

Read more »

12

Tip #767   Twitter from the terminal

I wrote a small script, I named it "tw" to update twitter from terminal:

Read more »