Register a domain and help support LQ
Go Back > Blogs
User Name



Reading from a file

Posted 03-17-2008 at 01:13 PM by chakjoy

I have a file test.txt like the following:

Name | ID | Details | Comment
data1 data2 data3 data4
data5 data6 data7 data8
data9 data10 data11 data12

I want to read from this file from the second row (where the actual data lies) as follows:

while read line
echo $line >> $out_file
done < test.txt

How can I do that?
LQ Newbie
Posted in Uncategorized
Views 425 Comments 0 chakjoy is offline

usb modem problem

Posted 03-17-2008 at 02:30 AM by madhusudana


I have D-Link DU-562M usb modem. I am unable to configure it under FC5.
Under usb devices it is showing as follows
[root@Shine serial]# cat /proc/bus/usb/devices

T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=ff MxPS=64 #Cfgs= 1
P: Vendor=0572 ProdID=1300 Rev= 1.00
S: Manufacturer=Conexant Systems, Inc.
S: Product=USB HSF Modem
C:* #Ifs= 2 Cfg#= 1 Atr=a0...
LQ Newbie
Posted in Uncategorized
Views 534 Comments 0 madhusudana is offline

Flashing Nokia with Linux

Posted 03-16-2008 at 12:21 PM by mike_rodrigues

I would like to know if there is any possibility of flashing linux (puppy or DSL) onto a mobile phone. I have a Nokia 6270, and i would like to experiment with this concept.

LQ Newbie
Posted in Uncategorized
Views 620 Comments 0 mike_rodrigues is offline

Terminator - Multiple GNOME terminals in one window

Posted 03-12-2008 at 11:00 AM by sridhar11

This is a project to produce an efficient way of filling a large area of screen space with terminals. This is done by splitting the window into a resizeable grid of terminals. As such, you can produce a very flexible arrangements of terminals for different tasks.

<a href="">Full Story</a>
Posted in Uncategorized
Views 384 Comments 0 sridhar11 is offline

Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail

Posted 03-12-2008 at 10:55 AM by sridhar11

Postfix is an attempt to provide an alternative to the widely-used Sendmail program. Postfix attempts to be fast, easy to administer,and hopefully secure, while at the same time being sendmail compatible enough to not upset your users.This tutorial will explain how to setup mail server with Postfix + Dovecot + SASL + Squirrel Mail.

<a href="">Full Story</a>
Posted in Uncategorized
Views 1119 Comments 0 sridhar11 is offline


All times are GMT -5. The time now is 09:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration