新Linux命令 — 文件的特殊属性 – 使用 “+” 设置权限,使用 “-” 用于取消 命令代码 注释说明 chattr +a file1 只允许以追加方式读写文件 chattr +c file1 允许这个文件能被内核自动压缩/解压 chattr +d file1 在进行文件系统备份时... 互联网教程技能精进# Allow a file to be safely deleted chattr +S file1# Allow the file to be automatically compressed/decompressed by the kernel chattr +d file1# chattr +a file1 3天前040
新Linux命令 — 打包和压缩文件 命令代码 注释说明 bunzip2 file1.bz2 解压一个叫做 'file1.bz2'的文件 bzip2 file1 压缩一个叫做 'file1' 的文件 gunzip file1.gz 解压一... 互联网教程技能精进# 'file2' 以及目录 'dir1'# 'file2'及'dir1'的档案文件# bunzip2 file1.bz2 3天前010
新Linux命令 — RPM 包 – (Fedora, Redhat及类似系统) 命令代码 注释说明 rpm -ivh package.rpm 安装一个rpm包 rpm -ivh --nodeeps package.rpm 安装一个rpm包而忽略依赖关系警告 rpm -U pack... 互联网教程技能精进# and last modification time# Build an RPM package from an RPM source# Check all installed RPM packages in the system - use with caution 4天前010