Hello,
I create a file touch 1201093003 fichcomp
and inside a repertory (which hava a lot of files) I want to list all files created before this file :
find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long
but i make a filter all... (1 Reply)
Hi All,
I need an enlightenment.
I have a file that some field need to be replaced.
sample : fileA.txt
abc,4#cik#221,text
abc,4#kus#343,text
...
...
what I need to replace is the "cik" and "kus" field to their fix value.
I have another file : fileB.txt that has value of "cik and... (1 Reply)
I have a file in which I want to do multiple find and replace of strings. For a single replace I can implement:
sed -i 's/old/new/' <input_file>
I have a second file that contains the old and the new values like the arbitrary example below:
old new
xyz pqr
ab 756
rst pqr... (3 Replies)
Hey folks!
I am new to shell-scripting, but I have a problem that I would like to solve using a script. I create very large html forms, used for randomized trials. In these forms, each question is supplied with a variable that looks something like this: PROJECT_formNN
Where NN is the question... (1 Reply)
I have a string containing fields separated by space
Example
set sr="Fred Ted Joe Peter Paul Jean Chris Tim Tex"
and want to display it in a column format, for example to a maximum
of a window of 100 characters
And hopefully display some thing like
Fred Ted Joe ... (3 Replies)
Hi All,
I need to list the files based modification time of the files from a directory, I cannot use "ls -t" as there are lot of files, which "ls" command cannot handle. New files will land there daily. So iam looking for an alternative through "find"command.
All suggestions are welcomed.
... (6 Replies)
Hello Guys.
I have a very big file where I need to change some values according a list on other file.
The following file is were I have the values to be changed.
The field where I need to replace the values is
File_Nb : File1.txt
Obs_Report_Result :
# ===== (5)... (19 Replies)
I have a file1 with different with multiple fields and records
File2 has 2 fields.
I want to find and replace strings in file1 based on file2 values (I Want an exact match i.e. for example: when searching for DT:3, Substr of DT:34 should not be matched)
File2:
DT:3 foo_err
DT:34 bar_frr... (8 Replies)
I'm new to shell programming, I have a huge text file in the following format, where columns are separated by single space:
ACA MEX 4O_ $98.00 $127.40 $166.60 0:00 0:00 0 ;
ACA YUL TS_ $300.00 $390.00 $510.00 0:00 0:00 0 ;
ACA YYZ TS_ $300.00 $390.00 $510.00 0:00 0:00 0 ;
ADZ YUL TS_ $300.00... (3 Replies)
Hi All,
In the file names we have dates.
Based on the file format given by the user,
if any file is not existed for a particular date with in a given interval we should consider that file is missing.
I have the below files in the directory /bin/daily/voda_files.
... (9 Replies)
Discussion started by: nalu
9 Replies
LEARN ABOUT DEBIAN
munin::master::group
Munin::Master::Group(3pm) User Contributed Perl Documentation Munin::Master::Group(3pm)NAME
Munin::Master::Group - Holds information on host groups.
Groups can be nested.
METHODS
new
my $group = Munin::Master::Group->new($name, $parent);
Constructor. $name is the name of the group.
add_attributes
$group->add_attributes(\%attrs);
Sets attributes %attrs for the group. Valid attributes are:
node_order
Override the order of the hosts within the group.
local_address
The local address the update process should bind to when contacting the nodes in this group.
contacts
The contacts for this group. See http://munin-monitoring.org/wiki/HowToContact <http://munin-monitoring.org/wiki/HowToContact>.
An exception will be thrown if invalid attributes are provided.
(Full details here: http://munin-monitoring.org/wiki/munin.conf#Groupleveldirectives <http://munin-
monitoring.org/wiki/munin.conf#Groupleveldirectives>.)
add_host
$group->add_host($host);
Adds host $host to the group.
give_attributes_to_hosts
$group->give_attributes_to_hosts();
Propagates the attributes of $group to all hosts in the group. (This does not apply to hosts belonging to sub-groups.)
get_all_hosts
my @hosts = $group->get_all_hosts();
Returns the list of all hosts associated with this group, including those belonging to any sub-groups.
perl v5.14.2 2013-11-12 Munin::Master::Group(3pm)