Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac 上的一些小命令 #205

Open
bingoohuang opened this issue Jul 5, 2021 · 0 comments
Open

mac 上的一些小命令 #205

bingoohuang opened this issue Jul 5, 2021 · 0 comments
Labels

Comments

@bingoohuang
Copy link
Owner

mac 上的一些小命令

  1. 查看进程的工作目录 lsof -a -d cwd -c programname or lsof -a -d cwd -p processid
    $ lsof -a -d cwd -p  41187
    COMMAND   PID       USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME
    beefs   41187 bingoobjca  cwd    DIR    1,4      160 79202440 /Users/bingoobjca/tempdir/beefsdir1
    
  2. xxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant