Skip to main content
Copy edited.
Source Link
Peter Mortensen
  • 12.2k
  • 23
  • 72
  • 90

Use:

pwdx $pid

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:

#> which vlc
/usr/bin/vlc
pwdx $pid

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.

#>which vlc
/usr/bin/vlc

pwdx $pid

pwdx $pid

the aboveThis command will display the path of the process from where it is running.

pwdx $pid

the above command will display the path of the process from where it is running.

pwdx $pid

This command will display the path of the process from where it is running.

Source Link
seenu
  • 411
  • 4
  • 2
Loading