Created
February 1, 2019 09:08
-
-
Save xiaoysh8/ab842bd232fe86d46148d8ace7f3d640 to your computer and use it in GitHub Desktop.
linux cook book
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #linux cook book | |
| /** find app pid */ | |
| pgrep gedit | |
| pgrep supervisor | |
| 847 | |
| cat /proc/847/environ | tr '\0' '\n' | |
| LANG=en_US.UTF-8 | |
| LANGUAGE=en_US: | |
| PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
| INVOCATION_ID=3d6c7f22a3d8410492eb2daef9d6f0d2 | |
| JOURNAL_STREAM=9:20019 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment