linux 将程序链接到 usr bin,Linux / usr / bin文件在重新启动后消失

我已将可执行二进制文件移动到/ usr / bin中。 这很有效,允许我按预期运行程序。

I have moved an executable binary into /usr/bin. This worked, allowing me to run the program as expected.

然而,在下次重启之后,我注意到命令没有响应,当我检查/ usr / bin时,文件不再存在。 有些东西已经删除了它。

However, after the next reboot, I noticed the command did not respond, and when I checked /usr/bin the file was no longer in it. Something has deleted it.

我测试了几次,并尝试了符号链接。 发生了相同的效果。

I tested it several times, and tried symbolic links as well. The same effect occured.

我记得Fedora Core 5盒子上的类似行为,当我在其中一个路径中有一个文件时,每当我用更新版本替换它时,旧版本会在一段时间后重新出现。 有东西备份文件,不允许我改变它。 它允许我稍后删除它。

I remember similar behaviour on a Fedora Core 5 box, when I had a file in one of these paths, and everytime I replaced it with a newer version, the older version reappeared after a while. Something backed up the file and did not allow me to change it. It did allow me to delete it later.

两个系统上的类似行为。 目前的计算机是运行Linux的Thecus RAID盒。

Similar behaviour on two systems. The current computer is a Thecus RAID box running Linux.

两个问题:

Two questions:

1. 发生了什么事?

2. 如何放置或更换这些文件,以便它们保留在我放置的位置?

1. What is going on?

2. How do I place or replace these files so they stay where I put them?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值