hi all,
I'm trying to do a cp only on files I created on a given day or within a certain date range.
What's the best way to do this?
Cheers,
KL (1 Reply)
Hello,
I would like to remove a range from a file with sed or any script command that is appropriate
The section start by and finish by and I would like to keep line
Could you tell me which command I should type ?
Thanks a lot,
Franck
My input file is like this... (1 Reply)
Hey folks
I have a big file that contains junk data between the tags <point> and </point> and I need to delete it (including `<point>' and `</point>').
i.e.
a = 1
<point>
123123
2342352
234231
234256
</point>
print a
needs to become
a = 1
print a
I'm certain that this is a... (10 Replies)
Hello everyone...I have large txt file and I would like to remove unwanted specific line.
My data is like this:
So I would like to remove from line below No. until line reassambled like this:
Thanks... (4 Replies)
Hi
I am having some issue editing a file in sed.
What I want to do is, in a loop pass a variable to a sed command. Sed should then search a file for a line that matches that variable, then remove all lines below until it reaches a line starting with a constant.
I have managed to write a... (14 Replies)
In vi I would like to remove a line containing a string. I thought after reading this I could do this.
https://www.unix.com/302297288-post3.html
:'3560,3572/gcc/d'
It keeps complaining vi mark not set. And sometimes it complains E488: Trailing characters.
I don't understand what mark... (5 Replies)
I am trying to cut a range of fields in awk. The below seems to work for removing field 50, but what is the correct syntax for removing a range ($50-$62). Thank you :).
awk
awk 'BEGIN{FS=OFS="\t"}{$50=""; gsub(/\t\t/,"\t")}1' test.vcf.hg19_multianno.txt > output.csv
Maybe:
awk... (6 Replies)
Hi,
In an ideal scenario, I will have a listing of db transaction log that gets copied to a DR site and if I have them all, they will be numbered consecutively like below.
1_79811_01234567.arc
1_79812_01234567.arc
1_79813_01234567.arc
1_79814_01234567.arc
1_79815_01234567.arc... (3 Replies)
I need to remove specific column to one range
source file
3 1 000123456
2 2 000123569
3 3 000123564
12 000123156
15 000125648
128 000125648
Output required
3 000123456
2 000123569
3 000123564
12 000123156
15 000125648
128 000125648 (6 Replies)
Discussion started by: ranjancom2000
6 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)