I was trying to determine which process was accessing a folder in my system and noticed it had a pid of 15742. However, I couldn't determine where this bash script was running (like the location of the bash file or which user is running it) Any ideas?
ps -ef | grep 15742
root 6432 5000 0 22:14 pts/4 00:00:00 grep 15742
root 15742 15662 0 16:25 pts/1 00:00:00 -bash