gpt4 book ai didi

ls - ls输出中的 "t"是什么意思?

转载 作者:行者123 更新时间:2023-12-03 15:30:20 24 4
gpt4 key购买 nike

ls报告以下内容:

# ls -ld /var/lib/puppet/state/
drwxr-xr-t 3 puppet puppet 4096 Jan 8 16:53 /var/lib/puppet/state/

“t”对其他人意味着什么?哪种工具报告权限的符号名称? ls具有 --numeric-uid-gid选项,但是是否还有另一个权限?

最佳答案

man ls是您的 friend :

t The sticky bit is set (mode 1000), and is searchable or executable.
(See chmod(1) or sticky(8).)



关于 sticky bit:

When set, it instructed the operating system to retain the text segment of the program in swap space after the process exited. This speeds up subsequent executions by allowing the kernel to make a single operation of moving the program from swap to real memory. Thus, frequently-used programs like editors would load noticeably faster.

关于ls - ls输出中的 "t"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14220594/

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