I am using a DEC ALPHA running Digital UNIX (formly DEC OSF/1) and ksh. I have a directory with hundreds of files that only share the extension .rpt. I would like to search that directory based on serial number and operation number and only files that meet both requirements to be printed out. I... (6 Replies)
Hi guys..
Would anyone know the best way to search 700 odd scripts so that it returns certain required results?
I need the search to return the script name, subject and any email address found.
The mail part of the script will look something like below and there can be more than one... (1 Reply)
Hi,
I'm a complete newbie so bear with me.
I have a directory (and sub-dirs) full of .doc, .xls files.
What I'm trying to do is do a single search within the files (i.e. within each .doc etc) for occurrences of multiple items e.g. apples, pears, grapes, bananas.
Basically I'd provide a... (4 Replies)
Hello to forum memebers,
Please help for below querry.
I am new n/w programming ,I wan to know abt the how to change IP to Domain name thorugh Shell script. I am looking for ur reply.
Plz.........
advance thanks to Forum.:) (2 Replies)
Hi forum memebers,
I want know what is the grep command a IP_add or host in the multiple scripts in one directory.
Thanks in advance.
Siva Ranganath.:) (3 Replies)
Hello members.
How can i write a script to find a multiple occurence of IP_ADD in the 3 different directories and under one path.after finding the IP_add redirect into a text file.
for example
home dir: /fdp/cdg
under home directory there are several files and directories.so I have to... (1 Reply)
Suppose I have 5 different directories in some path .Is it possible to search 5 different directories using find command in one single command line.
I mean something like this:-
find path -type d -name dirname1 dirname2 ..........
pls help (2 Replies)
I use this command to find a search (Nr of active alarms are) and print one line before and 10 lines after the search keywords.
nawk 'c-->0;$0~s{if(b)for(c=b+1;c>1;c--)print r;print;c=a}b{r=$0}' b=1 a=10 s="Nr of active alarms are:" *.log
However, I would like to know how to tell it to print... (3 Replies)
Dear all,
I am working on script which call other shell scripts in a loop but problem is from second script am not able to come out.
Here is the snippet:-
#!/bin/bash
HSFILE=/root/Test/Components.txt
LOGFile=/opt/domain/AdminDomain/application/logs... (3 Replies)
Discussion started by: sharsour
3 Replies
LEARN ABOUT LINUX
dh_installmime
DH_INSTALLMIME(1) Debhelper DH_INSTALLMIME(1)NAME
dh_installmime - install mime files into package build directories
SYNOPSIS
dh_installmime [debhelperoptions] [-n]
DESCRIPTION
dh_installmime is a debhelper program that is responsible for installing mime files into package build directories.
It also automatically generates the postinst and postrm commands needed to interface with the debian mime-support and shared-mime-info
packages. These commands are inserted into the maintainer scripts by dh_installdeb(1).
FILES
debian/package.mime
Installed into usr/lib/mime/packages/package in the package build directory.
debian/package.sharedmimeinfo
Installed into /usr/share/mime/packages/package.xml in the package build directory.
OPTIONS -n, --noscripts
Do not modify postinst/postrm scripts.
NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
8.9.0ubuntu2.1 2012-06-12 DH_INSTALLMIME(1)