Advertisement
Advertisement

新足迹

 找回密码
 注册
新足迹 门户 IT专业论坛 查看内容

ssh 登录 Mac, 如果在命令行下截屏

2019-11-4 20:08| 发布者: eric_gao | 查看: 2242| 原文链接

我ssh登录Mac, 运行 /usr/sbin/screencapture 怎么报错呢。

请教大家,怎么抓屏。 谢谢了。

My-MacBook-Air:~ ericgao$ ps -ef | grep login
    0   111     1   0 Wed11am ??         0:00.21 /System/Library/CoreServices/logind
  501   129     1   0 Wed11am ??         0:48.26 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console
  501 10649 10628   0  8:59pm ttys000    0:00.01 grep login
My-MacBook-Air:~ ericgao$ /usr/sbin/screencapture /Volumes/test
screencapture: cannot write file to intended destination
My-MacBook-Air:~ ericgao$
My-MacBook-Air:~ ericgao$ sudo launchctl bsexec 129 screencapture /Volumes/test
Password:
screencapture: cannot write file to intended destination
My-MacBook-Air:~ ericgao$


老是提示 cannot write file to intended destination,  /Volumes/test 目录设的777, 谁都能写。

Advertisement
Advertisement


Advertisement
Advertisement
返回顶部