22 January, 2008

Linux reference

I found really useful documentation for Linux beginners.


"This Debian Reference (http://qref.sourceforge.net/) is intended to provide a broad overview of the Debian system as a post-installation user’s guide. It covers many aspects of system administration through shell-command examples. Basic tutorials, tips, and other information are provided for topics including fundamental concepts of the Debian system, system installation hints, Debian package management, the Linux kernel under Debian, system tuning, building a gateway, text editors, CVS, programming, and GnuPG for non-developers."


This book is devoted to Debian system but it is topical for some other Linux systems.

StarCraft (Brood War) under Linux (Wine)

I use this script to play network StarCraft under wine:

#!/bin/bash

#At first, run "wine setup.exe"

BROODWAR_HOME=/usr/games/broodwar

ipx_interface add -p eth0 802.2 0x39ab0222
cd $BROODWAR_HOME
xinit /usr/bin/wine starcraft.exe


I think it is the best game.

Flash-light from console

With this script I use my monitor as flash-light in the darkness.

#!/bin/bash

#Switch monitor (CRT or LCD) to flash-light mode.

echo -e "\\033[47;30m"
clear
read
echo -e "\\033[0m"
clear