DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
How to check if ssh-agent is already running in bash
PID_SSH_AGENT=`eval ssh-agent -s | grep -Po "(?<=pid ).*(?=;)"`
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#How
#check
#running
#bash
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit