6 releases

Uses new Rust 2024

0.1.34 Aug 20, 2025
0.1.33 Aug 20, 2025

#2774 in Command line utilities

Download history 2/week @ 2025-09-18 13/week @ 2025-09-25 7/week @ 2025-10-02 2/week @ 2025-10-09 10/week @ 2025-10-16

213 downloads per month
Used in younix

Apache-2.0

4KB

Younix cat Command

The cat command in Younix outputs the contents of a file line-by-line, similar to the Unix cat utility. It is designed to be fast, safe, and easy to use, built with Rust.

Usage

younix cat [OPTIONS]

Options

Option Description
-p, --path <PATH> Path to the file to display (default: .)
-n, --number Add line numbers to the output
-h, --help Print help information

Examples

  1. Display the contents of file.txt:

    younix cat -p file.txt
    
  2. Display file.txt with line numbers:

    younix cat -p file.txt -n
    

Dependencies

~1.7–6MB
~135K SLoC