Procházet zdrojové kódy

fixed 'readlink -f ...' one-liner

- signed-off-by: trimstray <trimstray@gmail.com>
pull/82/head
trimstray před 5 roky
rodič
revize
6c13f0fc5e
1 změnil soubory, kde provedl 7 přidání a 4 odebrání
  1. +7
    -4
      README.md

+ 7
- 4
README.md Zobrazit soubor

@@ -2005,12 +2005,15 @@ exec /sbin/init 6
exec /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 command
readlink -f /proc/<PID>/exe
```



Načítá se…
Zrušit
Uložit