在OS X上缺少setsid命令吗? [英] Is setsid command missing on OS X?

查看:51
本文介绍了在OS X上缺少setsid命令吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的意思是我不能在bash中使用它,它在OS X上不可用,还是在Mac上不存在?

I mean I can't use it in bash, is it not available on OS X, or is it just missing on my Mac?

这不是PATH变量问题,因为我使用find命令进行搜索,并且Mac上根本没有名为setsid的文件.

It's not a PATH variable issue, because I searched with find command, and there's no file named setsid on my Mac at all.

如果在OS X上缺少它,是否还有其他选择?或者,如果是我不小心以某种方式删除了它,在哪里可以找到它的副本?

If it's missing on OS X, is there any alternative to it? Or if it's the case that I somehow deleted it accidentally, where can I find a copy of it?

推荐答案

使用Brew:

brew install util-linux

这篇关于在OS X上缺少setsid命令吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆