A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
awesomeawesome-listbsdcheatsheetsdevopsguidelineshackinghackshowtoslinuxlistsmanualsone-linerspentestersresourcessearch-enginessecuritysecurity-researcherssysops
fixed 'readlink -f ...' one-liner - signed-off-by: trimstray <[email protected]>
trimstray6c13f0fc5e00
diff --git a/README.md b/README.mdindex 582ec93..8b71bb1 100644--- a/README.md+++ b/README.md@@ -2005,12 +2005,15 @@ exec /sbin/init 6exec /sbin/init```-###### Get the path of a process+###### Show the PID's current working directory++```bash+readlink -f /proc/<PID>/cwd+```++###### Show actual pathname of the executed command```bash-# Alternatives:-# - pwdx command-# - lsof commandreadlink -f /proc/<PID>/exe```