rodrigosantosbr

[ubuntu] Cheat: uma versão do "man" melhorada e simplificada

Dec 29th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

instalação:

sudo pip install cheat

OBS: o pip deve estar instalado (pacote python-pip ou manualmente)


uso:

cheat <comando>

exemplo

cheat ls

saída:

# Displays everything in the target directory
ls path/to/the/target/directory

# Displays everything including hidden files
ls -a

# Displays all files, along with the size (with unit suffixes) and timestamp
ls -lh 

# Display files, sorted by size
ls -S

# Display directories only
ls -d */

# Display directories only, include hidden
ls -d .*/ */
Add Comment
Please, Sign In to add comment