peek
Preview a file with bat or cat
Usage reference
Try an example
peek README.mdSyntax
peek <file>- Availability
- Available when bat or cat is installed
- Dependencies
- bat or cat
Uses bat if available
Examples
peek README.md
In the Guide
More Files Commands
- bigfilesRank files recursively by size
- catPrint files with bat highlighting
- diffCompare files with automatic colour
- dusageRank immediate entries by disk usage
- extractUnpack a supported archive
- laList entries including hidden files
- llList all entries with details
- lsList directory contents