List open files by process
Show all files, sockets, and connections opened by a process
lsof -p <pid>
- tool
- linux133 commands
More linux commands
-
watch -n 2 'kubectl get pods -n <ns>'Re-run a command every 2 seconds with diff highlighting
-
nohup ./script.sh > /tmp/out.log 2>&1 &Run a script immune to SIGHUP; redirect output to file
-
ssh -L 8080:internal-service:80 user@bastion -N -fForward local port 8080 to an internal host via bastion
-
tar -xzf archive.tar.gz -C /target/dir/Extract a gzipped tar archive to a specific directory
-
openssl rand -base64 32Cryptographically secure random 32-byte password