bzmore 命令详解

| 选择喜欢的代码风格  

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

bzmore 命令安装:


-bash: bzmore: command not found

#Debian
apt-get install bzip2

#Ubuntu
apt-get install bzip2

#Alpine
apk add bzip2

#Arch Linux
pacman -S bzip2

#Kali Linux
apt-get install bzip2

#CentOS
yum install bzip2

#Fedora
dnf install bzip2

#OS X
brew install bzip2

#Raspbian
apt-get install bzip2

#Docker
docker run cmd.cat/bzmore bzmore

bzmore 命令补充说明:


bzmore 命令用于查看 bzip2 压缩过的文本文件的内容,当下一屏显示不下时可以实现分屏显示。

bzmore 语法:


bzmore [ name ... ]
bzless [ name ... ]

bzmore 命令参数:


文件:指定要分屏显示的.bz2压缩包。

bzmore 命令实例:


解压 bz2 文件

#将内容解压到标准输出,不删除压缩包
[root@localhost command-not-found]$ bzmore 2.c.bz2             

------> 2.c.bz2 <------

123

23

212

bzmore 显示普通文件

#直接显示普通文件
[root@localhost command-not-found]# bzmore 1.c

------> 1.c <------

hello world, 

i am david. 

i love linux, 

love code.

bzmore 命令扩展阅读:




bzmore 命令评论