6 lines
207 B
Bash
6 lines
207 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# get interactive pipeview of all files a PID has opened. Works also with forked PIDs (takes last pid, of pidof, which is usually the oldest pid)
|
||
|
pv -d $(pidof firefox |awk '{print $NF;exit}')
|
||
|
|