Linux如何通过端口号查看文件目录?
1.第一步获取端口号ps -ef | grep redis2.获取该进程所在目录pwdx 210593.cd /usr/local/live_scs/RedisPWDX(1) Linux User’s Manual PWDX(1)NAME pwdx - report curr...
·
1.第一步获取端口号
ps -ef | grep redis
2.获取该进程所在目录
pwdx 21059
3.cd /usr/local/live_scs/Redis
PWDX(1) Linux User’s Manual PWDX(1)
NAME
pwdx - report current working directory of a process
SYNOPSIS
pwdx pids...
pwdx -V
DESCRIPTION
The pwdx command reports the current working directory of a process or processes.
更多推荐
已为社区贡献1条内容
所有评论(0)