外壳会与内核或操作系统相互作用吗?

发布于 2025-01-30 16:28:09 字数 379 浏览 3 评论 0原文

我已经看到站点说何时在终端外壳中输入命令时,这将其提供给OS,这是实际更改完成的位置;其他人说,壳允许用户与内核进行通信。

但是,Internet上的图像,就像此Wikipedia页面说内核位于OS和应用程序之间。

因此,外壳实际上将命令发送到内核,然后将它们发送到OS,或者外壳位于与内核相同的级别上,然后只是将命令直接发送到OS?

I've seen sites that say when a command is entered in a terminals shell, this gives it to the OS which is where the actual change is done; while others say the shell allows users to communicate with the kernel.

However, images on the internet, like the first one on this Wikipedia page say that the kernel sits between the OS and applications.

So is the shell actually sending the commands to the kernel which then sends them to the OS or does the shell sit at the same level as the kernel and and is then just sending the commands straight to the OS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文