willdoescode / Nat
Licence: mit
nat - the 'ls' replacement you never knew you needed
Stars: ✭ 1,129
Programming Languages
rust
11053 projects
Projects that are alternatives of or similar to Nat
Gita
Manage many git repos with sanity 从容管理多个git库
Stars: ✭ 865 (-23.38%)
Mutual labels: command-line-tool, cli
Football Cli
⚽ Command line interface for Hackers who love football
Stars: ✭ 984 (-12.84%)
Mutual labels: command-line-tool, cli
Jabbar
Find out who is interested in your GitHub Code
Stars: ✭ 14 (-98.76%)
Mutual labels: cli, open-source
Hugo Elasticsearch
Generate Elasticsearch indexes for Hugo static sites by parsing front matter
Stars: ✭ 19 (-98.32%)
Mutual labels: command-line-tool, cli
Foxify Cli
💻 Firefox Command-Line Theme Manager 🦊 Inspired by spicetify-cli 🔥
Stars: ✭ 55 (-95.13%)
Mutual labels: command-line-tool, cli
Laminas Cli
Console command runner, exposing commands written in Laminas MVC and Mezzio components and applications
Stars: ✭ 25 (-97.79%)
Mutual labels: command-line-tool, cli
Moviescore
A cli tool to get movie ratings and reviews directly to your terminal!
Stars: ✭ 35 (-96.9%)
Mutual labels: command-line-tool, cli
Wbot
A simple Web based BOT for WhatsApp™ in NodeJS 😜. Working as of 📅 Feb 14th, 2020
Stars: ✭ 638 (-43.49%)
Mutual labels: command-line-tool, cli
Catage
Node package and CLI tool to convert code into an image with syntax highlighting
Stars: ✭ 44 (-96.1%)
Mutual labels: command-line-tool, cli
Ed
A modern UNIX ed (line editor) clone written in Go
Stars: ✭ 44 (-96.1%)
Mutual labels: command-line-tool, cli
Initior
A command line application that let's you initialize your new projects the right way, replaces npm and yarn's init 🎆
Stars: ✭ 17 (-98.49%)
Mutual labels: command-line-tool, cli
Cargo Contribute
Cargo subcommand for contributing to your dependencies
Stars: ✭ 56 (-95.04%)
Mutual labels: open-source, cargo
Terjira
Terjira is a very interactive and easy to use CLI tool for Jira.
Stars: ✭ 713 (-36.85%)
Mutual labels: command-line-tool, cli
Feflow
🚀 A command line tool aims to improve front-end engineer workflow and standard, powered by TypeScript.
Stars: ✭ 942 (-16.56%)
Mutual labels: command-line-tool, cli
Ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Stars: ✭ 28,564 (+2430.03%)
Mutual labels: command-line-tool, cli
Ecsctl
Command-line tool for managing AWS Elastic Container Service and Projects to run on it.
Stars: ✭ 15 (-98.67%)
Mutual labels: command-line-tool, cli
Sultan
Sultan: Command and Rule over your Shell
Stars: ✭ 625 (-44.64%)
Mutual labels: command-line-tool, cli
Papis
Powerful and highly extensible command-line based document and bibliography manager.
Stars: ✭ 636 (-43.67%)
Mutual labels: command-line-tool, cli
Sqlite Global Tool
SQLite .NET Core CLI tool that allows the user to manually enter and execute SQL statements with or without showing query result.
Stars: ✭ 37 (-96.72%)
Mutual labels: command-line-tool, cli
Rff Cli Example
An example of how to use 🏁 React Final Form in a CLI application with Ink
Stars: ✭ 55 (-95.13%)
Mutual labels: command-line-tool, cli
⚡️ nat ⚡️
Massive nat update!
Understanding permissions output
What is nat?
Nat is a complete replacement for the 'ls' command
Nats features include
- Showing file permissions
- Showing file size
- Showing the date that the file was modified last
- Showing the user that the file belongs to
- Showing the group that the file belongs to
- An easy to use file search
- A splash of color to distinguish between files and folders
discord server
Join the natBeta test the natls proof of concept re-write
cargo install nat-poc
Highlights
- A rather large german tech blog wrote an article about nat
Usage
Installation
cargo install natls
Homebrew
brew install willdoescode/natls/natls
Alternative (linux)
sudo snap install natls
To update natls with snap
sudo snap refresh natls
Another alternative (arch linux)
yay -S nat
(or your AUR helper of choice)
Manual installation
Linux
apt-get install rustc cargo
cd /tmp
git clone https://github.com/willdoescode/nat.git
cd /tmp/nat
cargo build --release
cd target/release
./nat
To install nat locally
cd /tmp/nat
cargo install --path .
and add this line to your $HOME/.bashrc
export PATH=$PATH:$HOME/.cargo/bin
Updating nat
cargo install natls
if there is a new version available cargo will install it
Using nat with ls
in zshrc or bashrc
alias ls='natls'
Running
natls <dir>
Searching for file
natls <file>
To edit the code
git clone https://github.com/willdoescode/nat.git
cd nat
Uninstall steps
cargo uninstall natls
Understanding permissions output
Imagine file permissions as three ones or zeros
000 no access
100 read
010 write
001 execute
101 read and execute
110 read and write
011 write and execute
111 read write and execute
what nat does is it combines these permissions for
user-group-other
so if the user has read write and execute and the group has read and write and other has no perms the output will look like
rwxrw----
If all groups have read write and execute the output would look like
rwxrwxrwx
Stargazers over time
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].