Nov 222010
 

terminalHave you ever having to control more than a single file with your tail -f ?
I will and I just recently found out that you can run the tail command specifying the -f flag several times so you can give the command:

tail -f /varlog/messages -f /var/log/syslog

You’ll get an output like this:

==> messages <== Nov 22 00:43:07 laptop kernel: [ 61.487969] ADDRCONF(NETDEV_UP): eth0: link is not ready

==> syslog <== Nov 22 00:43:31 laptop pulseaudio[1773]: ratelimit.c: 1 events suppressed

==> messages <== Nov 22 00:43:31 laptop pulseaudio[1773]: ratelimit.c: 1 events suppressed

==> syslog <==
Nov 22 00:45:44 laptop ntpd[1118]: kernel time sync status change 6001

Continue reading »

Flattr this!

Nov 202010
 

We often hear that there are no games on Linux, or that are much worse than their counterparts for windows, so today I want to show some unusual games that run perfectly on our favorite operating system.
Caph

Caph

Caph is a sandbox game, based on physics. The game target is to make contact red object with green object. You can use various objects, solid, wire (rope), and bendable objects. Gravitation will help you.

Caph available as C source code, and can be compiled on any suitable GNU/Linux distribution.

Available on http://www.playdeb.net/software/Caph for Ubuntu dafrom release 9.10.

Continue reading »

Flattr this!

Nov 182010
 

arduino

Adding Ethernet, WiFi and Other Communications to Your Arduino (Or Other PIC) – Including the NSLU2

Author: John Smitty

The Arduino is a small programmable device that can hold a small program and perform tasks such as reading temperature sensors, turning on or off switches, and can even serve as the ‘brain’ for a robot. I have used the Arduino (actually freeduino) for projects related to HVAC and hydroponics automation.

Continue reading »

Flattr this!

Nov 182010
 

history

The history command is very useful when you frequently work at the terminal and you want to invoke a command given in the past.But there are several options that are not so common or poorly understood, in this article we’ll see some of them in bash and zsh.

Basic usage

Show last commands in history.

Apply to bash and zsh

history

Continue reading »

Flattr this!