Linux gitview Command

Linux 命令大全Linux Command Reference

The Linux gitview command is used to view the contents of a file, and it displays the codes in both hexadecimal and ASCII formats.

Syntax

gitview [-bchilv][文件]

Parameters:

  • -b Monochrome mode, does not use ANSI control codes to display colors.
  • -c Color mode, uses ANSI control codes to display colors.
  • -h Online help.
  • -i Displays the location where the gitview program is stored.
  • -l Does not use previously displayed characters.
  • -v Displays version information.

Examples

Use the command gitview in color mode to view the contents of the file "/home/ rootlocal/demo.txt", enter the following command:

$ gitview -c /home/rootlocal/demo.txt      #使用gitview指令观看指定文件内容

Linux 命令大全Linux Command Reference

Other Extensions