Linux command
uncompress 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Uncompress
uncompress [path/to/file1.Z] [path/to/file2.Z]
Example
uncompress -f [path/to/file1.Z] [path/to/file2.Z]
Example
uncompress -c [path/to/file1.Z]
Verbose
uncompress -v [path/to/file1.Z]
说明
uncompress decompresses files compressed using the Unix compress command. Files typically have a .Z extension. The original compressed file is replaced by the uncompressed version unless -c is used. This format uses LZW compression and was common on older Unix systems before gzip became standard.
参数
- -c
- Write to stdout, don't modify files
- -f
- Force, ignore non-existent files
- -v
- Verbose, show compression percentage
FAQ
What is the uncompress command used for?
uncompress decompresses files compressed using the Unix compress command. Files typically have a .Z extension. The original compressed file is replaced by the uncompressed version unless -c is used. This format uses LZW compression and was common on older Unix systems before gzip became standard.
How do I run a basic uncompress example?
Run `uncompress [path/to/file1.Z] [path/to/file2.Z]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c do in uncompress?
Write to stdout, don't modify files