【问题标题】:how do i change the contents of a file using chmod如何使用 chmod 更改文件的内容
【发布时间】:2022-11-28 04:39:44
【问题描述】:

chmod file.txt // apt 编辑 source cobaChmod.txt

edit the file according to what I want without using a text editor

【问题讨论】:

  • 您想使用 chmod 更改文件的内容吗?这不是 chmod 所做的。它改变了所有权。请提供更多信息。

标签: terminal


【解决方案1】:

如果你想更改文件权限,你可以使用 following table chmod 命令作为参考。

如果您需要修改文件的内容,则需要使用编辑器。

【讨论】:

    猜你喜欢
    • 2013-02-26
    • 1970-01-01
    • 2016-01-20
    • 1970-01-01
    • 2012-07-01
    • 2015-02-14
    • 1970-01-01
    • 2018-02-05
    • 2020-07-04
    相关资源
    最近更新 更多