One simple way that should work on any UNIX or Linux system is (as long as the file you're editing is a non-empty text file):
This will replace an ONBOOT= line if there is one and add the desired line if there isn't one.
Hi,
I have a Template file 'TL.body' which says as follows:
"There are no <FILENAME> files on the server. "
The missing file names are identified and stored in a variable.
For Eg: MISSFILE="abc.txt def.txt xyz.txt"
I want the values of MISSFILE variable to be replaced against... (2 Replies)
lets see if i can explain this in a good way.
im trying to replace some words in a file but i need to know what the words are that is beeing replaced. not sure if sed can do this.
file.name.something.1DATA01.something.whatever
sed "s/./.DATA?????/g"
need to know what the first . is... (2 Replies)
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Hello,
I have a complex problem. I have a file in which words have been joined together:
Theboy ranslowly
I want to be able to correctly split the words using a lookup file in which all the words occur:
the
boy
ran
slowly
slow
put
child
ly
The lookup file which is meant for look up... (21 Replies)
Dear all,
I am working with names and I have a large file of names in which some words are written together (upto 4 or 5) and their corresponding single forms are also present in the word-list.
An example would make this clear
annamarie
mariechristine
johnsmith
johnjoseph smith
john
smith... (8 Replies)
Hi ,
I need to count the number of errors associated with the two words occurring in the file. It's about counting the occurrences of the word "error" for where is the word "index.js". As such the command should look like. Please kindly help. I was trying: grep "error" log.txt | wc -l (1 Reply)
Hi
I have strings like these :
Vengeance mitt
Men Vengeance gloves
Women Quatro Windstopper Etip gloves
Quatro Windstopper Etip gloves
Girls Thermobite hooded jacket
Thermobite Triclimate snow jacket
Boys Thermobite Triclimate snow jacket
and I would like to get the lower case words at... (2 Replies)
I have the file like this.
cat 123.txt
<p> <table border='1' width='90%' align='center' summary='Script output'> <tr><td>text </td> </tr> </table> </p>
I want to replace some tags and want the output like below. I tried with awk & sed commands. But no luck. Could someone help me on this?
... (4 Replies)
Hi All,
I need one help to replace particular words in file based on if finds another words in that file .
i.e.
my self is peter@king.
i am staying at north sydney.
we all are peter@king.
How to replace peter to sham if it finds @king in any line of that file.
Please help me... (8 Replies)
Discussion started by: Rajib Podder
8 Replies
LEARN ABOUT DEBIAN
smpppd
SMPPPD(8) SMPPPD SMPPPD(8)NAME
smpppd - SuSE Meta PPP Daemon
DESCRIPTION
smpppd is a daemon that controls several internet connections.
Use a frontend like cinternet , qinternet or kinternet to control the connections and retrieve status informations. Those frontends can
also run on different hosts.
The configuration of the dialup connections is done by YaST2 but there are some additional options available in the file /etc/smpppd.conf.
smpppd is not intended for direct use. Use rcsmpppd instead.
OPTIONS
These options are recognized by smpppd.
--detach
Detach from the controlling terminal. This is the default.
--nodeatch
Don't detach from the controlling terminal.
-d, --debug
Turn on debugging.
--version
Show program version and exit.
--help Show help information and exit.
BUGS
ISDN support is poor.
SIGNALS
SIGHUP Reload the configuration.
FILES
/etc/smpppd.conf
Basic configuration.
/etc/sysconfig/network/ifcfg-*
Configuration files for the interfaces.
/etc/sysconfig/network/providers/*
Configuration files for the providers.
/var/run/smpppd/control
Socket to communicate with local frontends.
/var/run/smpppd/ifcfg-*
Sockets to communicate with backends.
SEE ALSO
kinternet, qinternet, accounting(1), cinternet(1), wvdial(1), smpppd.conf(5), pppd(8), smpppd-ifcfg(8).
AUTHOR
Arvin Schnell <arvin@suse.de>
SuSE September 2003 SMPPPD(8)