DEV Community

Cover image for Mastering Terminal using Savvy' s AI
shantanu joshi
shantanu joshi

Posted on

3 1 1 2 2

Mastering Terminal using Savvy' s AI

Whether you are new to Terminal or an expert, Savvy's open source CLI can significantly improve your productivity at work. Here are 3 examples that you can run today with Savvy's CLI:

1. Go from Natural Language to Command Translation:

Example: If you're unsure how to monitor network traffic using tcpdump, simply ask:
savvy ask "How to monitor network traffic with tcpdump"

Savvy responds with the commands that can be directly run on your terminal

tcpdump

2. Explain any complicated shell command or understand any error message:

Example: Suppose you are trying to figure out how grep works with certain commands like below, savvy can explain:

savvy explain "grep 'error' logfile.txt | awk '{print $0}'"

Savvy will explain each step of the command and if needed, offer troubleshooting steps

savvy explain

3. Run a publicly available runbook to debug issues:

Example: Let's say you are figuring out how to diagnose and resolve PID Pressure Issues in Kubernetes, you can run this entire runbook using its runbook id or skip steps that you do not want to run:

savvy run rb_615fe9d2a50d663c

A sample list of steps in the runbook:

Kubernetes runbook

Finally, Savvy CLI not only automates the mundane tasks but also empowers you to build a personal and team knowledge base directly from your daily activities in the terminal. Whether you’re troubleshooting, setting up environments, or training teammates, Savvy turns your command-line prowess into a documented and shareable assets.

You can install Savvy today by running: curl -fsSL https://install.getsavvy.so | sh

Disclosure: I am building Savvy😎 to make CLI a cool place for developers to learn and share their expertise!

Playwright CLI Flags Tutorial

5 Playwright CLI Flags That Will Transform Your Testing Workflow

  • 0:56 --last-failed
  • 2:34 --only-changed
  • 4:27 --repeat-each
  • 5:15 --forbid-only
  • 5:51 --ui --headed --workers 1

Learn how these powerful command-line options can save you time, strengthen your test suite, and streamline your Playwright testing experience. Click on any timestamp above to jump directly to that section in the tutorial!

Watch Full Video 📹️

Top comments (0)

Billboard image

Try REST API Generation for Snowflake

DevOps for Private APIs. Automate the building, securing, and documenting of internal/private REST APIs with built-in enterprise security on bare-metal, VMs, or containers.

  • Auto-generated live APIs mapped from Snowflake database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

👋 Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay