by crazypython · 5y ago · 0 comments
If you want something better than Activity Monitor– tells you what (which process?) is lagging your computer, and how (RAM, CPU, or swap?)– with an overall slicker interface, try:
glances
If you want something better than weather.com– no ads, fast loading– try: curl wttr.in
Better than spotlight– full-text search over 128GB drive in less than 30s– try: rg "query"
Force quit a program, try: pkill -9 ProgramName
Suspend a program and un-suspend it later, try: pkill -STOP ProgramName
pkill -CONT ProgramName
View content of a file with syntax highlighting, try: bat file.py
Open a file and copy it to your clipboard, try: cat image.png | pbcopy
Go to a recently visited folder with autocomplete that works reliably, try: z foldername
Convert units– faster than typing into Google, try: units
Find a file by name faster than Spotlight: locate "pear" # finds ~/pear/readme.txt, ~/pearidea.txt
To move and copy individual files around, activate the GUI: open .
These are just a few examples of CLI tools being superior.No comments yet.