bat - Man Page
Bacula Administration Tool Console
Examples (TL;DR)
- Pretty print the contents of one or more files to
stdout
:bat path/to/file1 path/to/file2 ...
- Concatenate several files into the target file:
bat path/to/file1 path/to/file2 ... > path/to/target_file
- Remove decorations and disable paging (
--style plain
can be replaced with-p
, or both options with-pp
):bat --style plain --pager never path/to/file
- Highlight a specific line or a range of lines with a different background color:
bat -H|--highlight-line 10|5:10|:10|10:|10:+5 path/to/file
- Show non-printable characters like space, tab or newline:
bat -A|--show-all path/to/file
- Remove all decorations except line numbers in the output:
bat -n|--number path/to/file
- Syntax highlight a JSON file by explicitly setting the language:
bat -l|--language json path/to/file.json
- Display all supported languages:
bat -L|--list-languages
Synopsis
bat [options]
Description
This manual page documents briefly the bat command, the Qt4 version of the Bacula Administration Tool console. This is a GUI full featured program similar the bconsole program, but it is graphical oriented and more features.
Options
bat [-s] [-c config_file] [-d debug_level] [-t]
- -c <config>
Specify configuration file. Default is bat.conf.
- -d <nn>
Set debug level to nn.
- -s
No signals. Used in debugging only.
- -t
Test config mode: read configuration and exit.
- -?
Show version and usage of program.
See Also
bacula-dir(8), bls(1), bextract(1).
Author
This manual page was written by Kern Sibbald.
Copyright
This man page document is released under the BSD 2-Clause license.
Referenced By
26 September 2009 Kern Sibbald Network backup, recovery and verification