Use the gitview command of linux to view the contents of the file
This article will explain in detail about the use of linux gitview command to view the file content, Xiaobian think it is quite practical, so share it for everyone to make a reference, I hope you can gain something after reading this article.
Gitview is called gnu interactive tools viewer. This command is used to view file contents. When you use the gitview command to view file contents, both hexadecimal and ASCII characters are displayed.
Syntax format: gitview [parameter]
Common parameters:
-b monochrome mode, color display without ANSI control codes-c color mode, color display with ANSI control codes-i show where gitview program is stored-l display without previous characters-h show help information
Reference Example
View the contents of the specified file in color mode:
[root@linuxcool ~]# gitview -c /home/linuxcool/file.txt
View the contents of a specified file in monochrome mode:
[root@linuxcool ~]# gitview -b /home/linuxcool/file.txt
Show where the gitview program is stored:
[root@linuxcool ~]# gitview -i About using linux gitview command to view file content shared here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.