TLDR
Enter a command. For example: aws google auth, ansible pull.

loc

 
Tool written in Rust that counts lines of code. More information: https://github.com/cgag/loc.
 
  • Print lines of code in the current directory:
     
    loc
     
  • Print lines of code in the target directory:
     
    loc {{path/to/directory}}
     
  • Print lines of code with stats for individual files:
     
    loc --files
     
  • Print lines of code without .gitignore (etc.) files (e.g. two -u flags will additionally count hidden files and dirs):
     
    loc -u

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.