From owner-freebsd-questions Mon Aug 26 21:32:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D270B37B401 for ; Mon, 26 Aug 2002 21:32:43 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-84.dsl.lsan03.pacbell.net [64.165.226.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCB6C43E6E for ; Mon, 26 Aug 2002 21:32:42 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6002B66DE1; Mon, 26 Aug 2002 21:32:42 -0700 (PDT) Date: Mon, 26 Aug 2002 21:32:42 -0700 From: Kris Kennaway To: fred@timogen.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pidof command in freebsd Message-ID: <20020827043242.GB67326@xor.obsecurity.org> References: <003e01c24dfb$0f5d0680$8d05a8c0@fred> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Content-Disposition: inline In-Reply-To: <003e01c24dfb$0f5d0680$8d05a8c0@fred> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --gatW/ieO32f1wygP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 27, 2002 at 11:53:31AM -0700, fred@timogen.com wrote: > hi,=20 >=20 > There is a command pidof in linux, which can get the pid of a program. > Does there are some commands in freebsd which have the same functions? ps | grep Kris --gatW/ieO32f1wygP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9awDpWry0BWjoQKURAgtaAKCyIzxPdI31JvBjbUaXnfZpixEv/ACdEQW1 ClV0n9t5Chmz28BjrdayXBQ= =Ak8h -----END PGP SIGNATURE----- --gatW/ieO32f1wygP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message