LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Edit variable value in a file using linux script

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

Hi

I have a property file.
There is a variable with value as below
a.home=/opt/tmp

I need to edit this to
a.home=/opt/amx

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

Please help
Thanks
Priya
LQ Newbie
Posted in Uncategorized
Views 5530 Comments 3 Priyadivya is offline
Old

Fun with Win7 "security"

Posted 02-28-2011 at 03:30 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 03-30-2011 at 04: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,...
Member
Posted in Microsoft Rants
Views 7333 Comments 2 rocket357 is offline
Old

bash script

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

Hello All,

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

................
script1.sh:
#!/bin/bash
printf "Whats your name:";
read user_name;
if [-n "$user_name"]
then
printf "Hello $user_name!";
exit 0;
else
printf "You did not enter username:\n";
exit 1;
fi
.............
script2.sh:
#!/bin/bash...
LQ Newbie
Posted in Uncategorized
Views 348 Comments 0 aydemirk is offline
Old

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

Posted 02-26-2011 at 09: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
...
Member
Posted in Microsft, Windows
Views 1840 Comments 0 Mr. ameya sathe is offline
Old

Yet another commented example of why nada

Posted 02-26-2011 at 08: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(!),...
Member
Posted in Uncategorized
Views 3861 Comments 2 AGer is offline

  



All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement

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