I am trying to delete all the lines in a particular file having a pattern. The problem is that it has special characters and for some reason is not doing the job.
Hello All,
I like this forum btw, and have only been lurking for about a day.
Recently I purchased some new hardware (AMD Athlon 64 3200+ and a Asus K8V Deluxe Motherboard), and I want to find an OS that can take advantage of the 64 bit processor.
Basically, what are the differences... (2 Replies)
Hi,
I have written the following two scripts.
a.ksh --->
FPATH=/users/kushard
autoload b
b
echo "From a.ksh::" $aa
b --->
function b
{
typeset aa
aa="TRUE."
echo "From b::" $aa
export aa
} (1 Reply)
Good day, everyone!
Could anybody explain me the following situation.
If I'm running similar script:
Var="anna.kurnikova"
Var2="Anna Kurn"
echo $Var | tr -t "$Var" "$Var2"
Why the output is :
anna KurniKova
instead of Anna Kurnikova?
:confused:
Thank you in advance for any... (2 Replies)
I come across an entry in cron which is in such:
0 * * * *
What is the first 0 indicating? 0 minute? meaning a script cron as such will run every minute? :confused: (2 Replies)
I don't even know where to start with this one. There is so much out there about different aspects of this. I am starting with a basic Ubuntu 11.04 install. Do I need to configure a DNS? I am a little confused about that. What do I need to do for a domain name? I have followed various tutorials,... (1 Reply)
Hello All,
I have a problem in counting number of process getting run with my current script name..
Here it is
ps -ef | grep $0 | grep -v grep
This display just one line with the PID, PPID and other details when i print it in the script.
But when I want to count the numbers in my... (11 Replies)
Hi Seders,
i am new to this forum, but i think it's quite the best place to post.
So, here is my pb :
I have a csv file, with comma separator and text enclosed by ".
First pb is with text in " ......... ", wich sometimes includes lines break, and commas
And to complicate a little more,... (4 Replies)
#!/bin/bash
X=(0 2 4 6 7 0 0 0 0)
Let me just say from the start that sed confuses the hell out of me!
In the above line of code how can I use sed to remove all of the 0's except the first one?
I have tried sed -e 's/*$//g' but it removes all of the 0's.
Thank you in advance for any and... (3 Replies)
Discussion started by: cogiz
3 Replies
LEARN ABOUT DEBIAN
inadyn.conf
INADYN.CONF(5) File formats and conventions INADYN.CONF(5)NAME
inadyn.conf - configuration for the inadyn client for open DNS servers.
DESCRIPTION
inadyn can read the very same options which can be present in the command line from a configuration file. This feature allows the user to
write the options only once, and avoids frequent retyping.
The format of the file follows the *NIX tradition:
a '#' character denotes a comment.
The long options (those with '--' in front) can also be placed at the beginning of the line without '--' signs.
a can be used as an escape character.
EXAMPLES
1.
#Some comment about inadyn cfg file
--username test --password test --update_period 60000
--alias test.homeip.net --alias my.second.domain
2.
--username test # user
--password test
update_period 60000 # some other param without '--'
alias test.homeip.net
SEE ALSO
Other manual pages
inadyn(8).
Internet resources
Inadyn 's home page is http://inadyn.ina-tech.net. <>
AUTHOR
inadyn was written by Narcis Ilisei, <inarcis2002@hotpop.com>.
This manual page was written by Shaul Karl, <shaul@debian.org>, for the Debian GNU/Linux system, based on the readme.html file that is
found in the source.
Linux applications January, 2005 INADYN.CONF(5)