Google
  Web www.spinics.net

Re: get the process id of a bash script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, May 16, 2008 at 03:33:53PM +0200, Guillaume wrote:
> hi,
> i woul like to know the command displaying the actual PID of a bash script.
> I try to use $! but it return me the wrong pid (in fact the past
> process i ran before).

$$

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Older Fedora Users Mail]     [Home]     [Fedora News]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [Free Dating Site]     [Fedora Package Review]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Coolkey]     [ET Management Tools]     [Yum Users]     [Tux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]     [Fedora 8 and Red Hat Enterprise Linux Bible]

Powered by Linux

Google
  Web www.spinics.net

Google PageRank Checking tool