fickit: add helper script to simplify nsenter
This commit is contained in:
parent
6e612df2e9
commit
9784310dc0
5 changed files with 49 additions and 0 deletions
7
configs/nsenter_process.sh
Executable file
7
configs/nsenter_process.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
PROC="$1"
|
||||
shift
|
||||
|
||||
nsenter -t $(pgrep "$PROC" | head -1) $@
|
||||
exit $?
|
||||
Reference in a new issue