Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to know if PGP has been installed on the Linux server? Post 302930449 by sachinksl on Sunday 4th of January 2015 08:00:20 AM
Old 01-04-2015
Quote:
Originally Posted by bakunin
RHEL is based on rpm, so perhaps something like

Code:
rpm -qa | grep -i pgp

Result of above command:-
-sh-4.1$ rpm -qa | grep -i pgp
pgpcmdln-10.3.0.214-214.x86_64
( Does above result proves its been installed )



should do the trick. (There is surely a more elegant way to use rpm but as AIX specialist i don't know it.) Alternatively do a

Code:
which pgp

or, depending on the shell you use
Result of above command:-

-sh-4.1$ which pgp
/usr/bin/which: no pgp in (/opt/ibm/java-x86_64-70/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
( Does above result proves its been installed )


Code:
whereis pgp

to find out if it is in the PATH.
Result of above command:-

-sh-4.1$ whereis pgp
pgp: /usr/share/pgp /opt/pgp/bin/pgp /usr/share/man/man1/pgp.1.gz
( Does above result proves its been installed )

I hope this helps.

bakunin
Please confirm my results in RED above. Thanks for your reply
 

10 More Discussions You Might Find Interesting

1. HP-UX

web server installed?

Hi, I need to check whether webserver is installed in my UNIX box or not Can some one please help me (command?) Thanks (4 Replies)
Discussion started by: vivek_damodaran
4 Replies

2. Ubuntu

list the softwares installed in Linux

I need list of 3rd party softwares installed in a Unix server (eg: Fedora / RedHat). I know if they are system supported format (like rpm format for fedora/redhat, pkg format for debian/ubuntu etc) we can list them by system specific commands ($ rpm -qa). But how to list the softwares installed... (3 Replies)
Discussion started by: uday123
3 Replies

3. UNIX for Advanced & Expert Users

command to find when Linux OS is installed?

hey , Anyone knows command to find when Linux OS is installed? Date and time? (2 Replies)
Discussion started by: crackthehit007
2 Replies

4. Solaris

Whether Sun studio is installed on my Solaris Server?

Hi All I want to confirm the installation of Sun Studio installation on my UNIX development server. Please suggest how to get that. Cheers, Ankur (4 Replies)
Discussion started by: sharmaankur85
4 Replies

5. UNIX for Dummies Questions & Answers

Command to see what software installed on linux server

I am using red hat linux server. I need to know what softwares installed on that server. What command can i use to get this list? Any help is highly appreciated. (2 Replies)
Discussion started by: govindts
2 Replies

6. Red Hat

Installed apache server , can't connect from outside (using CentOS in WMware )

Hello all I installed apache in CentOS 5.5 ,after searching the web for tips on configuration I did the fallowing stuff to unable connecting the http server from outside. In /etc/httpd/conf/httpd.conf I changed the Listen value to 0.0.0.8011 Then checked with then check with: netstat -anp and I... (2 Replies)
Discussion started by: umen
2 Replies

7. Homework & Coursework Questions

Configure the AD Window server with Linux server(google Authenticator is installed)

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (2 Replies)
Discussion started by: manjusharma128
2 Replies

8. Solaris

Information regarding softwares installed on the Solaris server

I need to know information regarding the softwares/applications that are installed on my Solaris server and also its end of life or support information. Can some one help me how to get these details please... Thanks (3 Replies)
Discussion started by: ssk250
3 Replies

9. UNIX for Beginners Questions & Answers

Which X Window system is installed on my server that would work with Xming?

I would like to use Xming to connect a server and managed to get it to work. I am now trying to get it to connect to a different server but i am not sure which X Window system is installed. I tried it through putty and i get the following error/warning: /usr/java/jdk1.7.0_67/bin> jvisualvm... (5 Replies)
Discussion started by: ziggy25
5 Replies

10. UNIX for Beginners Questions & Answers

See installed drivers in Linux

Hello everyone from Tenerife, Canary Islands. How can i see in Debian or similar operating system the installed drivers or controllers ? Best Regards https://image.ibb.co/kC5C87/winkho2.gif (1 Reply)
Discussion started by: JohnFissburyn
1 Replies
WHEREIS(1)							   User Commands							WHEREIS(1)

NAME
whereis - locate the binary, source, and manual page files for a command SYNOPSIS
whereis [-bmsu] [-BMS directory... -f] filename... DESCRIPTION
whereis locates source/binary and manuals sections for specified files. The supplied names are first stripped of leading pathname compo- nents and any (single) trailing extension of the form .ext, for example, .c. Prefixes of s. resulting from use of source code control are also dealt with. whereis then attempts to locate the desired program in a list of standard Linux places. OPTIONS
-b Search only for binaries. -m Search only for manual sections. -s Search only for sources. -u Search for unusual entries. A file is said to be unusual if it does not have one entry of each requested type. Thus `whereis -m -u *' asks for those files in the current directory which have no documentation. -B Change or otherwise limit the places where whereis searches for binaries. -M Change or otherwise limit the places where whereis searches for manual sections. -S Change or otherwise limit the places where whereis searches for sources. -f Terminate the last directory list and signals the start of file names, and must be used when any of the -B, -M, or -S options are used. EXAMPLE
Find all files in /usr/bin which are not documented in /usr/man/man1 with source in /usr/src: example% cd /usr/bin example% whereis -u -M /usr/man/man1 -S /usr/src -f * FILES
/{bin,sbin,etc} /usr/{lib,bin,old,new,local,games,include,etc,src,man,sbin, X386,TeX,g++-include} /usr/local/{X386,TeX,X11,include,lib,man,etc,bin,games,emacs} SEE ALSO
chdir(2V) BUGS
Since whereis uses chdir(2V) to run faster, pathnames given with the -M, -S, or -B must be full; that is, they must begin with a `/'. whereis has a hard-coded path, so may not always find what you're looking for. AVAILABILITY
The whereis command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux July 2009 WHEREIS(1)
All times are GMT -4. The time now is 10:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy