Hi,
i'm designing a unix script and i want to know if there is a shell command or a way to see if perl is installed in the system.
thanks in advance! (5 Replies)
Is there a quick way to check for installed perl modules on a solaris server? I found using perl -e "use Crypt::DES" will work for checking one package at a time. I was wondering if there was anything else out there? (4 Replies)
Hi all im hoping someone can help, i want to check if a rpm package is installed, if it is then display one text if not then another text, below is what i have got so far, im am very much a noob at this, as you can probably can see so if possible make it simple, and a big thankyou if you can help... (3 Replies)
Hi All,
I want to check if the perl DBI package is already installed my AIX unix machine. is there any command to check this? Please help.
Thanks,
Am (2 Replies)
Hi All,
I wanted to know what time the box jobs were loaded into a particular Autosys Instance.
Is there a autosys command to find out the above? (The timestamp at which a box was loaded)
I had loaded my JIL script without outputting it to the log file. (4 Replies)
Hi how can I check to see that init.d or xinit.d is installed on a system?
*edit*
Also is there a way to have it be platform independant?
rpm -qa works on some, but not all
Any help is appreciated (0 Replies)
How do check the programs that the actual user of the computer installed. I do not care at all about the default programs that came with your distro of Linux, I only want the user installed programs. (1 Reply)
Hi,
On a unix/linux server, how do I check if Autosys or Control-M (scheduler) is running? are there unique processes for these applications that I could do
ps -ef | grep ???
thanks,
Jason (11 Replies)
I need a programmatic way to check, that supersede of required package is installed. At Linux I do it using rpmvercm utility to compare installed package version to my minimal requirement.
So - I need analog of Linux "rpmvercm" utility for Solaris (10/11)
Let us say - I know that minimal version... (10 Replies)
I would like to know how to identify the installed "Physical Processor" .here is the output #psrinfo -pv of from 2 systems :
- System 1
The physical processor has 8 virtual processors (0-7)
SPARC-T4 (chipid 0, clock 2848 MHz)
-System 2
The physical processor has 8 virtual... (3 Replies)
Discussion started by: ahmedamer12
3 Replies
LEARN ABOUT FREEBSD
dh_installdeb
DH_INSTALLDEB(1) Debhelper DH_INSTALLDEB(1)NAME
dh_installdeb - install files into the DEBIAN directory
SYNOPSIS
dh_installdeb [debhelperoptions]
DESCRIPTION
dh_installdeb is a debhelper program that is responsible for installing files into the DEBIAN directories in package build directories with
the correct permissions.
FILES
package.postinst
package.preinst
package.postrm
package.prerm
These maintainer scripts are installed into the DEBIAN directory.
Inside the scripts, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands.
package.triggers
package.shlibs
These control files are installed into the DEBIAN directory.
Note that package.shlibs is only installed in compat level 9 and earlier. In compat 10, please use dh_makeshlibs(1).
package.conffiles
This control file will be installed into the DEBIAN directory.
In v3 compatibility mode and higher, all files in the etc/ directory in a package will automatically be flagged as conffiles by this
program, so there is no need to list them manually here.
package.maintscript
Lines in this file correspond to dpkg-maintscript-helper(1) commands and parameters. However, the "maint-script-parameters" should not
be included as debhelper will add those automatically.
Example:
# Correct
rm_conffile /etc/obsolete.conf 0.2~ foo
# INCORRECT
rm_conffile /etc/obsolete.conf 0.2~ foo -- "$@"
In compat 10 or later, any shell metacharacters will be escaped, so arbitrary shell code cannot be inserted here. For example, a line
such as "mv_conffile /etc/oldconffile /etc/newconffile" will insert maintainer script snippets into all maintainer scripts sufficient
to move that conffile.
It was also the intention to escape shell metacharacters in previous compat levels. However, it did not work properly and as such it
was possible to embed arbitrary shell code in earlier compat levels.
The dh_installdeb tool will do some basic validation of some of the commands listed in this file to catch common mistakes. The
validation is enabled as a warning since compat 10 and as a hard error in compat 12.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLDEB(1)