Created
October 17, 2026 13:31
-
-
Save dewomser/dd467189a7f7befc4917b5c8c59d49db to your computer and use it in GitHub Desktop.
Wolust LPD 26.2 SGPT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SGPT | |
| ------------------------------ | |
| Agentische KI vergleichbar mit Gemini Google | |
| Was ich sonst noch benutze (für Bash) | |
| Grok von X | Copilot von Github | |
| Quelle Installationaanleitung | |
| ------------------------------ | |
| firefox --new-window https://www.tuxedocomputers.com/de/ShellGPT-und-Ollama-Erste-Schritte-mit-AI-und-Ihrem-TUXEDO.tuxedo | |
| Künstliche Intelligenz ist längst nicht mehr auf Webanwendungen wie ChatGPT beschränkt – mit ShellGPT können große Sprachmodelle (LLMs) direkt in der Kommandozeile genutzt werden. Standardmäßig greift das Tool auf OpenAI-Modelle zu, unterstützt aber auch lokal gehostete Alternativen. Hier kommt Ollama ins Spiel: Die Plattform ermöglicht den Betrieb leistungsfähiger Modelle wie Llama3.2 oder Mistral direkt auf dem eigenen System. Das bietet nicht nur mehr Kontrolle über die Daten, sondern spart auch Kosten. In diesem Artikel erfahren Sie, wie Sie ShellGPT mit Ollama nutzen und sich die KI-Power direkt in Ihre Shell holen. | |
| Hilfe Man oder sgpt --help | |
| ---------------- | |
| https://linuxcommandlibrary.com/man/sgpt | |
| Github | |
| ---------------- | |
| https://github.com/tbckr/sgpt | |
| Mit und ohne -s | |
| ----------------- | |
| touch lolo.txt | |
| ls -rtl | |
| sgpt -s "lösche lolo98.txt" | |
| ls -rtl | |
| sgpt "lösche lolo98.txt" | |
| Finden | |
| ----------- | |
| sgpt -s "Finde alle großen Dateien in /home/karl > 10M" | |
| Anführungszeichen | |
| -------------------- | |
| sgpt -s "Schreibe in die Datei lolo98.txt 100 mal die Zahl '1'" | |
| touch lolo1.txt | |
| touch lolo2.txt | |
| touch alolo3.txt | |
| sgpt --shell "Delete all files in current folder, begin with 'lolo'" | |
| Bilder | |
| ---------- | |
| cd ~/Bilder eog? | |
| sgpt --shell "zeige das Bild 'lolo1.png'aus dem aktuellen Ordner mit einem Desktopprogramm an" | |
| ++++ funzt nicht Sprache lernen . Wie sag ichs +++ | |
| sgpt --shell " poste an Mastodon 'LPD an der Hochschule Worms' Warte 5 Sekunden ! Öffne firefox mit URL'social.tchncs.de' " | |
| Nicht Bash pipe + Sprache | |
| ------------------------ | |
| echo -n "mass of sun" | sgpt | |
| oder | |
| sgpt "Masse der Sonne" | |
| oder | |
| echo -n "mass of sun" | sgpt "Antworte aud deutsch!" | |
| aber das funktioniert mit Rolle Ein Post > Mastodon | |
| ----------------------------- | |
| sgpt --shell --role mastodon " poste an Mastodon 'KI - Test. LPD an der Hochschule Worms' ;Warte '5 Sekunden' ; 'firefox --new-window https://social.tchncs.de'" | |
| sgpt --show-role mastodon | |
| Interactive Shell Sessions geht auch noch nicht getestet. | |
| -------------------------------------------------------- | |
| rlwrap | |
| Sicherheit & Best Practices | |
| Immer den generierten Befehl prüfen – besonders bei Execute! | |
| Niemals sensible Daten (Passwörter, API-Keys, Tokens) in Prompts geben | |
| Kosten beachten → Caching nutzen oder lokale Modelle (Ollama) | |
| Präzise, aber natürliche Prompts schreiben | |
| --no-interaction für Automation verwenden | |
| Sessions für längere Workflows nutzen | |
| Fazit | |
| SGPT macht die Bash deutlich produktiver ? | |
| Ideal bei vergessenen Flags, komplexen find/awk/sed/ffmpeg/Docker-Befehlen | |
| Weniger Kontextwechsel, schnellere Iteration | |
| Einstieg extrem einfach – Nutzen steigt mit Übung und eigenen Aliasen | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment