• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

pwdx Command Examples in Linux

by admin

The pwdx command prints the current working directory of a process. The current working directory of a process can be displayed using the pwdx command as shown below:

pwdx command in Linux

You can also get the working directory of multuple process by specifying the PIDs on the same line. For example:

# pwdx [pid01] [pid02] [pid03] ...

pwdx Command Examples

1. To get the current working directory of a process with PID 1210:

# pwdx 1210

2. To get the pwdx version:

# pwdx -V 

Filed Under: Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL 7 : Configuring NTP using chrony
  2. Linux OS service ‘auditd’
  3. dig Command Examples in Linux
  4. How to install/remove/query/update RPM packages in Linux (Cheat Sheet)
  5. Linux / UNIX : How to create extended partition using fdisk
  6. “yum history” command examples to display, rollback, redo, undo yum transactions
  7. Linux OS Service ‘squid’
  8. “imuxsock lost # messages from pid # due to rate-limiting” – rsyslog rate-limiting in Linux
  9. How to Find Filesystem Inode Utilization in Linux
  10. CentOS / RHEL 7 : How to Enable the Old ethX Style Network Interfaces Names

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright