gpt4 book ai didi

linux - 执行时拦截错误

转载 作者:太空宇宙 更新时间:2023-11-04 09:32:20 25 4
gpt4 key购买 nike

我想在我的 linux 系统上收听某个设备。因此我正在使用拦截。当我打电话时:

mv ttyO0 ttyO0-orig

然后

./interceptty -o ttyO0.out/dev/ttyO0-orig/dev/ttyO0 &

我收到错误:Couldn't openpty: No such file or directry

这是什么意思?文件 ttyO0-orig 可用。或者是其他地方的错误?

最佳答案

阅读manual page ,它似乎在提示前端设备,它不存在(因为你移动了它):

Usage: ./interceptty [-V] [-qvl] [-s back-set] [-o output-file] 
[-p pty-dev] [-t tty-dev]
[-m [pty-owner,[pty-group,]]pty-mode]
[-u uid] [-g gid] [-/ chroot-dir]
back-device front-device

关于linux - 执行时拦截错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30146135/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com