Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Blogs
User Name



Edit variable value in a file using linux script

Posted 03-01-2011 at 07:21 AM by Priyadivya


I have a property file.
There is a variable with value as below

I need to edit this to

How can I do this. I have to do this by running a linux script.

Please help
LQ Newbie
Posted in Uncategorized
Views 6221 Comments 3 Priyadivya is offline

Fun with Win7 "security"

Posted 02-28-2011 at 02:30 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 03-30-2011 at 03:23 PM by rocket357

The other morning my neighbor stopped by and asked me if I could help him. "Sure thing.", I say. He explains that his mother's computer got a virus on it, and he's tried numerous times to fix it, but to no avail. Everytime he reboots the machine, the virus is back.

Now, I usually politely redirect requests like that to one of my many Windows-fluent friends...but my neighbor and his wife have been very good friends to us, so I want to help him out personally. I mean,...
Posted in Microsoft Rants
Views 9667 Comments 2 rocket357 is offline

bash script

Posted 02-28-2011 at 06:58 AM by aydemirk

Hello All,

I am trying to give a input to one script by using an other script. For example:

printf "Whats your name:";
read user_name;
if [-n "$user_name"]
printf "Hello $user_name!";
exit 0;
printf "You did not enter username:\n";
exit 1;
LQ Newbie
Posted in Uncategorized
Views 407 Comments 0 aydemirk is offline

How to type in marathi language or rather in any language?

Posted 02-26-2011 at 08:52 AM by Mr. ameya sathe (Tantra Yantra Swatantrya)

If you need to type in any language(For example Marathi) other than English; there is no need of installing any kind of software.

Windows XP

To install another language and keyboard layout in Windows XP, follow these steps:
  1. In the Windows XP standard Start menu, click Start, and then click Control Panel.

    In the Windows XP classic Start menu, click Start, click Settings, and then click Control Panel.
  2. Double-click Regional
Posted in Microsft, Windows
Views 2081 Comments 0 Mr. ameya sathe is offline

Yet another commented example of why nada

Posted 02-26-2011 at 07:13 AM by AGer (Void cries or bashing time)

As we all know, the Linux desktop share is flat since 2004. Yet another example of why it is so follows.

I have the latest Ubuntu in a VM and update it occasionally. Right now it asks for permission to install 115 updates and download 1 MB. OK, granted.

Unfortunately, there are 5 (five) packages that are missing on the mirror it uses. So, it tries to download them, creates a list of 5 "404 - not found" errors, recommends to check the Internet connection(!),...
Posted in Uncategorized
Views 4515 Comments 2 AGer is offline


All times are GMT -5. The time now is 09:17 PM.

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