Forrest logo
back to context overview

bat

List of commands for bat:

  • bat:tldr:15e7d bat: Display all supported languages.
    $ bat --list-languages
    try on your machine
    explain this command
  • bat:tldr:2a0de bat: Syntax highlight a JSON file.
    $ bat --language json ${file-json}
    try on your machine
    explain this command
  • bat:tldr:81b80 bat: Print the contents of a file to the standard output.
    $ bat ${filename}
    try on your machine
    explain this command
  • bat:tldr:823e6 bat: Concatenate several files into the target file.
    $ bat ${file1} ${file2} > ${target_file}
    try on your machine
    explain this command
  • bat:tldr:893ab bat: Number all output lines.
    $ bat --number ${filename}
    try on your machine
    explain this command
  • bat:tldr:90d1d bat: Append several files into the target file.
    $ bat ${file1} ${file2} >> ${target_file}
    try on your machine
    explain this command
back to context overview