Knowledge Base
Applications and Tools
Architecture
Continuous Integration
Databases
DevOps
Networks
Operating Systems
Programming
View All
Services
Contact
Knowledge Base
Programming
Shell Scripting
BASH special variables
Published: Friday, 14 April 2006
Last modified: Thursday, 4 June 2020
BASH Built in special variables
Variable
Description
$?
return code of the previous command
$$
current process id (pid)