Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This gives you the Current Working Directorycurrent working directory of the pid, not its absolute path.
usually
Usually the which command will tell you which is being invoked from the shell.:
#>which#> which vlc
/usr/bin/vlc
pwdx $pid
This gives you the Current Working Directory of the pid, not its absolute path.
usually the which command will tell you which is being invoked from the shell.
#>which vlc
/usr/bin/vlc
Use:
pwdx $pid
This gives you the current working directory of the pid, not its absolute path.
Usually the which command will tell you which is being invoked from the shell:
This command will displaygives you the pathCurrent Working Directory of the process from where itpid, not its absolute path.
usually the which command will tell you which is runningbeing invoked from the shell.
#>which vlc
/usr/bin/vlc
pwdx $pid
This command will display the path of the process from where it is running.
pwdx $pid
This gives you the Current Working Directory of the pid, not its absolute path.
usually the which command will tell you which is being invoked from the shell.