10 More Discussions You Might Find Interesting
1. AIX
Hello!
We have an AIX box (6.3), we are looking for a way to get list of logged in users and their IP. The issue we have is running who -ub shows hostname and we are wanting to get the ip. Any suggestions of ideas? Thanks in advance for any help! (4 Replies)
Discussion started by: entropy1980
4 Replies
2. Shell Programming and Scripting
Hello again gentlemen.
I would like to make a shell script to 'optimize' a plain text full of IPs.
Let's suppose to have this text file:
1.192.63.253-1.192.63.253
1.0.234.46/32
1.1.128.0/17
1.116.0.0/14
1.177.1.157-1.177.1.157
1.23.22.19
1.192.61.0-1.192.61.99
8.6.6.6
I want to... (2 Replies)
Discussion started by: accolito
2 Replies
3. Shell Programming and Scripting
Hello gentlemen.
I would like to create a shell script (no perl or python please) to generate a list with those rules.
Let's suppose I've this text file:
a@A:soss(z)1.1.1.1
Opt!o:2.1.9.55
Azxk<ji>rC211.111.9.0-251.11.34.9
d=211.9.1.3
O.Oox 2.1.2.4-51.9.1.33... (6 Replies)
Discussion started by: accolito
6 Replies
4. Shell Programming and Scripting
Please tell me the script, if any user ping my pc so leave his ip, mac and other identity on my pc. (1 Reply)
Discussion started by: abhihot95
1 Replies
5. Shell Programming and Scripting
Given a range of IPs similar to this:
"212.63.183.19","212.63.183.19","3560945427","3560945427","CN","China"
"217.7.143.0","217.7.143.0","3641151232","3641151232","CN","China"
"218.0.0.0","218.31.255.255","3657433088","3659530239","CN","China"... (13 Replies)
Discussion started by: SkySmart
13 Replies
6. IP Networking
hi,
i want to know how can i get my gateway ips in the network,what i want is the ip of my neighbors in subnet( computers that are directly connected to my computer via lan or wlan), how can i get these information?
thanks in advance. (2 Replies)
Discussion started by: gongotar
2 Replies
7. Shell Programming and Scripting
Hi
Can someone give me a shell script that can ping a range of IPs and return IPs which are not pingable.
Range for example say 192.168.0.1 to 192.168.0.50 and whichever are not pingable then return the IP.
Thanks for your help (3 Replies)
Discussion started by: tannu
3 Replies
8. Shell Programming and Scripting
This Expect script provides expect with a list of IP addresses to Cisco IPS sensors and commands to configure Cisco IPS sensors. The user, password, IP addresses, prompt regex, etc. have been anonymized. In general this script will log into the sensors and send commands successfully but there are... (1 Reply)
Discussion started by: genewolfe
1 Replies
9. Solaris
i want to postinstall script in ksh. but it seems postinstall script runs only in "sh". commands like set -A (for arrays) which are perfectly acceptable in ksh gives an error when run on postinstall script even when i give ksh as interpreter.
So is it like postinstall script in solaris packaging... (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies
10. UNIX for Dummies Questions & Answers
For my kickstart install I use an NFS share on another machine in order to install the packages. For the most part, all configuration required after each time I reimage is set up in the kickstart file, but this one portion is giving me issues. I'm trying to mount an NFS share in the kickstart post... (0 Replies)
Discussion started by: Colton
0 Replies
DH_INSTALLDEBCONF(1) Debhelper DH_INSTALLDEBCONF(1)
NAME
dh_installdebconf - install files used by debconf in package build directories
SYNOPSIS
dh_installdebconf [debhelperoptions] [-n] [--params]
DESCRIPTION
dh_installdebconf is a debhelper program that is responsible for installing files used by debconf into package build directories.
It also automatically generates the postrm commands needed to interface with debconf. The commands are added to the maintainer scripts by
dh_installdeb. See dh_installdeb(1) for an explanation of how that works.
Note that if you use debconf, your package probably needs to depend on it (it will be added to ${misc:Depends} by this program).
Note that for your config script to be called by dpkg, your postinst needs to source debconf's confmodule. dh_installdebconf does not
install this statement into the postinst automatically as it is too hard to do it right.
FILES
debian/package.config
This is the debconf config script, and is installed into the DEBIAN directory in the package build directory.
Inside the script, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands.
debian/package.templates
This is the debconf templates file, and is installed into the DEBIAN directory in the package build directory.
debian/po/
If this directory is present, this program will automatically use po2debconf(1) to generate merged templates files that include the
translations from there.
For this to work, your package should build-depend on po-debconf.
OPTIONS
-n, --no-scripts
Do not modify postrm script.
-- params
Pass the params to po2debconf.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLDEBCONF(1)