Skip to content
Darryl Dias

Darryl Dias

3D Artist and Cloud Computing Specialist

  • Home
  • Linux
    • Fedora
    • Debian
    • Ubuntu
    • CentOS
    • OpenSUSE/SLE
  • Applications
    • Neovim
    • Blender
    • Maya
    • Houdini
  • MacOS
  • Windows
  • FreeBSD
  • Single Board
    • Raspberry Pi
  • PHP
    • WordPress
  • Programming
    • JavaScript
    • Deno
  • Demo Reel
  • Portfolio
  • The Awesome List
  • Store
  • About
  • Contact

bash

What is $$ in Bash?

December 25, 2020June 22, 2020 by Darryl Dias

$$ is an internal variable, it stores the process ID of the script itself or the current bash instance. Here is an example use case The output prompted.  

Categories Articles Tags bash, linux, shell, tutorial Leave a comment

Search

Advertise here
DigitalOcean Referral Badge
  • Articles
  • Blender
  • FreeBSD
  • Houdini
  • Linux
  • MacOS
  • Maya
  • Neovim
  • Programming
  • Raspberry Pi
  • RenderMan
  • Tutorials
  • Unix
  • Windows
Advertise here
© 2025 Darryl Dias • Built with GeneratePress