Dear All,
i want to search particular string and want to replance next line value.
following is the test file.
search string is
tmp,???
,10:1 "???" may contain any 3 character it should remain the same and next line replace with ,10:50
tmp,123 --- if match tmp,??? then... (3 Replies)
Hi everyone
i need one help don't know whether it is simple or difficult but not able to solve it.
here is the problem
suppose my code is
time_def=3
r=0
while ]
do
echo "time left is $time_def "
((time_def=time_def-1))
done
and the output is
time left is 3
time left... (6 Replies)
Hi,
I need to replace the record count which is in the last line of the text file to a new record count.
The file is a fixed length file, and whole file is list of numbers and the last line looks like this.
9#EOF# 00000000000000000016 ... (9 Replies)
Hi,
I have got the below requirement. please suggest.
I have a file like,
Processing Item is:
/data/ing/cfg2/abc.txt
/data/ing/cfg3/bgc.txt
Processing Item is:
/data/cmd/for2/ght.txt
/data/kernal/config.klgt.txt
I want to process the above file to get the output file like,
... (5 Replies)
Hi all,
I have a log file say Test.log that gets updated continuously and it has data in pipe separated format. A sample log file would look like:
<date1>|<data1>|<url1>|<result1>
<date2>|<data2>|<url2>|<result2>
<date3>|<data3>|<url3>|<result3>
<date4>|<data4>|<url4>|<result4>
What I... (3 Replies)
In the awk below I am trying to cp and paste each matching line in f2 to $3 in f1 if $2 of f1 is in the line in f2 somewhere. There will always be a match (usually more then 1) and my actual data is much larger (several hundreds of lines) in both f1 and f2. When the line in f2 is pasted to $3 in... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT DEBIAN
update-inetd
UPDATE-INETD(8) rlinetd UPDATE-INETD(8)NAME
update-inetd - manage rlinetd (and inetd) configuration entries
SYNOPSIS
update-inetd [options] --add ENTRY
update-inetd [options] --remove SERVICE
update-inetd [options] --enable SERVICE
update-inetd [options] --disable SERVICE
DESCRIPTION
update-inetd is a rlinetd's compatibility script, which can be used to by various Debian post-installation scripts to manage services in
rlinetd configuration files directory /etc/rlinetd.d.
update-inetd will spawn update-inetd.real(8) for managing entries in /etc/inetd.conf file. Please see update-inetd.real(8) for details.
ACTIONS --add ENTRY
Adds an entry, which should be a line in a inetd.conf(5) format.
--remove SERVICE
Removes a service.
--enable SERVICE
Enables a service.
--disable SERVICE
Disables a service.
OPTIONS --version
Prints version information on standard output and exit successfully.
--debug
Enables debugging mode. Note the option is also passed to update-inetd.real(8).
Any other option is passed directly to update-inetd.real(8).
FILES
/etc/rlinetd.conf, /etc/rlinetd.d/*, /etc/inetd.conf
SEE ALSO update-inetd.real(8), inetd.conf(5), rlinetd.conf(5), inetd2rlinetd(8)AUTHOR
Robert Luberda <robert@debian.org>
Debian January 3rd, 2009 UPDATE-INETD(8)