Archive

Archive for June, 2008

COTD: Screen

June 29th, 2008 No comments

Overview

Ever wanted to run a long-running command but you can’t seem to get it to complete because you have a shaky connection? Can’t run your command in the background? Want to leave your IRC session open so you can SSH from work and catch the chat room action? Enter screen. Screen allows you to

 

Installation

Well, installation depends on your flavor of Linux. Here are the installation methods for a few common flavors of Linux:

 

up2date

To install screen with up2date issue this command:

# up2date -i screen

 

yum

To install screen with yum issue this command:

# yum -y install screen

 

apt

To install screen with apt issue this command:

# apt-get install screen

 

Usage

Using screen is extremely easy. Here are a few commands to help you understand how it operates.

 

Creating a new screen

Type "screen" to start a new screen. Note that the title of putty (if you’re using putty) tells you which screen you are currently attached to by inserting "[screen 0: bash]  before your normal user@host:/path text.
image

You should now run any commands you want to save inside your "screen".

 

Detaching a screen

To detach your current screen simply press "CTRL + AD" (Control plus A then D). You are now presented with a message saying "[detached]". You are now returned to your normal shell outside of your virtual screen.

 

Attaching to an existing screen

Chances are if you are using screen you’ll need to reattach to your detached screen. Type "screen -r" to reattach to your current screen. If multiple screen sessions are active, you’ll see a list of current screens to choose from. Type "screen -r PID" to reattach to that screen.
image
Multiple screens to choose from

Video Overview

Here’s a quick demonstration of screen.

Categories: COTD (Command Of The Day) Tags:

10 Substantial Events in Linux History

June 29th, 2008 1 comment

Here are a few substantial events in Linux history:

1991 - Linus Torvalds posts his first message about his free operating system resembling MINIX. He mentions that the operating system will probably never support anything other than AT-hard drives.

1992 - Andrew Tanenbaum, a computer scientist and author of the MINIX kernel, wrote a post in response to Linus’ post in 1991. He said "Linux is Obselete" which sparked the debate about the structure of Linux. Hundreds of people were on-board with Linux at Linus’ campus; then thousands were developing and perfecting the code … soon to become hundreds of thousands.

image 1993 - The compressed kernel source was no around 800K and Linux had passed multiple revisions (15+)

1994 - Linus opened Linux version 1.1; beginning the stable development of the Linux we know today.

1994 - Caldera was formed in October 1994. I won’t go much into detail about Caldera - about all they contributed was a dual-processor Pentium machine for the development of the SMP-based kernel.

1996 - The 2.0 kernel was released and included many enhancements. The list looks like this: Multi-Architecture support (x86 and Alpha). This kernel also had support for SMP. The kernel is now around 5MByte compressed.

1996 - KDE was founded. The choice to go with the Qt toolkit was a sketchy one. Qt, at the time, did not use a free software license. The GNU team was concerned about this.

1997 - In August 1997, two projects were started to help KDE. The Harmony Toolkit was the replacement for the previously pay-only Qt libraries. GNOME was also founded but build without Qt and only built upon free software)

1999 - The kernel has doubled in size. The new kernel 2.2 release included a number of features. Finer-grained locking for improved multi-processor support. IBM announced an large project in support of the Linux operating system.

2004 - Microsoft published documents evaluating the use of Windows Vs. Linux with the name "Get the Facts" on their website. RedHat, Novell and IBM published articles in response to Microsoft’s "bent" version of the truth.

Categories: Linux Tags:

Netgear Releases Open Source Wireless Router

June 29th, 2008 No comments

image It’s about time a company releases a router based on open-source ideologies. I personally run an old Dell Optiplex at home with pfSense… I may now be changing my router. Enter the WGR614L. This new 54G, fully-capable router is available to the retail masses. The router includes an entire open-source community site which includes blogs, forums, articles and projects. The site is called "MyOpenRouter.com".

 

The Features

This router has many robust features that makes this a great choice for only $69.00 (even cheaper at NewEgg.com).

  * 240 MHz CPU

  * 4 MB flash

  * 16 MB RAM

  * Works with Windows Vista (I believe this is a feature)

 

This router is reasonably priced and it makes me very happy to know that a larger company supports the open source community. This kind of support will open many options for users of this router.

This router is compatible with well-known 3rd party firmware’s like Tomato and DD-WRT.

 

Retail links:
Amazon.com
NewEgg.com

 

[ via cyberciti.biz ]

Categories: Gadgets Tags:

FAIL: FacePlant To Concrete Wall

June 26th, 2008 No comments

FAIL! This dude faceplanted directly into this cement wall. Ouch.

Categories: Total Failure Tags:

FAIL: How To Not Do A Flaming Shot

June 26th, 2008 No comments

Apparently this idiot has no idea what he’s doing and probably shouldn’t be drinking at all.

Categories: Total Failure Tags: