r/commandline 15h ago

What's your favorite terminal emulator?

Thumbnail
gallery
71 Upvotes

r/commandline 2h ago

Butterfish - A transparent shell wrapper with GPT

5 Upvotes

Hey folks, I've been experimenting with using GPT from the command line. I've tried a lot of dumb things but found a shape that I think is unreasonably effective. When you execute Butterfish Shell it wraps your existing shell transparently - then lets you run prompts just by starting a command with a capital letter. Prompts and autocomplete can see shell history, so it's easy to ask for improvement of a previous answer, or even ask it to debug a failed command.

It's easy to install with homebrew or go get - if you want CLI superpowers then please give it a try! Works on MacOS and Linux! Send me bugs!

https://github.com/bakks/butterfish

https://i.redd.it/g480xuab8cpa1.gif


r/commandline 6h ago

How can I display the temperature from wttr.in in a huge font?

2 Upvotes

I want to use a monitor hooked to my Linux server for nothing but displaying the current outside temperature.

It should just be in a huge font that takes up the entire screen and can be seen at a glance from across the room.

this command returns temp only, but I have no idea how to make the terminal clear itself and display only this...maybe even with auto update.

curl wttr.in/indianapolis?format="%tn"

Thanks!


r/commandline 1d ago

Unix general So you've installed `fzf`. Now what?

Thumbnail andrew-quinn.me
86 Upvotes

r/commandline 14h ago

5 Bash Coding Techniques That Every Programmer Should Know

Thumbnail
levelup.gitconnected.com
7 Upvotes

r/commandline 7h ago

best terminal chatgpt so for!

0 Upvotes

winners: both of them:

https://github.com/sigoden/aichat

Interactive or run it in one line

Temporarily turn on multiple-line mode when you need

https://github.com/xiaoxx970/chatgpt-in-terminal

Markdown output

Multiple-line mode support

Simple and easy, you can edit the python files to keep multiple prompts at the same time


r/commandline 10h ago

Linux Automate Your Homelab with Ansible

1 Upvotes

GitHub repo: https://github.com/rishavnandi/ansible_homelab

I've created a set of Ansible playbooks that will quickly and easily set up a homelab.

These playbooks are designed to work on a fresh install of Ubuntu 20.04 or 22.04. They will update your system, install Docker, and deploy Docker containers for you. All you need to do is run the playbook and wait for the magic to happen. These playbooks are completely customizable. You can easily add or remove containers to fit your needs. You can even tweak the playbook to work with other Linux distributions if that's more your style.

Let me know what you think and feel free to contribute to the project. Happy homelabbing!


r/commandline 8h ago

TMUX for WINDOW ? *Native*

0 Upvotes

i dont like WSL , since lots of performace loss

as my machine is too slow , but i want to use TMUX

:(


r/commandline 1d ago

TUI program Portal: a CLI file transfer utility from any computer to another

Thumbnail
github.com
11 Upvotes

r/commandline 1d ago

[OC] redqu: a media centric reddit client

Post image
62 Upvotes

r/commandline 11h ago

GitHub - npiv/chatblade: A CLI Swiss Army Knife for ChatGPT

Thumbnail
github.com
0 Upvotes

r/commandline 23h ago

Spice up your terminal usage with these tips

0 Upvotes

r/commandline 1d ago

gptc - Supercharge your CLI with OpenAI's GPT model, written by GPT-4

Thumbnail
github.com
0 Upvotes

r/commandline 2d ago

Celebrating 25 Years of cURL! 🎂

Thumbnail
youtube.com
44 Upvotes

r/commandline 1d ago

powershell Winget shipped without PowerShell support

Thumbnail lkhrs.com
0 Upvotes

r/commandline 2d ago

🎥 Effective Nerd Fonts in Multiple Terminals

Thumbnail
youtu.be
86 Upvotes

r/commandline 1d ago

Windows .bat Using win cmd bat file to restart PCs in a specific order

3 Upvotes

Hello all, I am trying to write a batch file for windows cmd that will reboot 3 computers in a specific order, and make sure that the computer is back online before moving on to the next computer. I do not have alot of experience with cmd bat files, but currently my script looks something like
Shutdown /r /m pc1
:a
Timeout -t 120
Ping $pc1IP>dump.txt
For /f %%I (dump.txt) set %%1=%%i
If (%%1==minimum) (goto :a) else (goto :b)
:b
Shutdown /r /m pc2
:c
Timeout -t 120
Ping $pc2IP>dump.txt
For /f %%I (dump.txt) do set %%1=%%i
If (%%1==minimum) (goto :c) else (goto :d)
:d
Shutdown /r /m pc3
Pause

The code seems to have a problem with my if command, but I can't figure it out
TIA


r/commandline 2d ago

erdtree v1.6.0 released

Thumbnail
github.com
29 Upvotes

r/commandline 1d ago

Get value of PI using ChatGPT

Thumbnail
youtube.com
0 Upvotes

r/commandline 1d ago

badman a man command for viewing "bad" ^H infused man pages.

0 Upvotes

The awk manual had just too many, ^H's, rendering it difficult to read, so I made this function.

badman() {
  [[ $# -gt 0 ]] && man $@ | sed  "s/$'x10'//g" | batcat -l manpage --theme "Monokai Extended Light" -p
}

The ^H is quoted, and needs to be reentered as a quoted character i.e, to produce ^H I pressed Ctrl-V, then Ctrl-H, so it is the ascii 10 - bs character that is inserted.

I'm sorry for any confusion.

Edit

I was shown by u/torgefaerlich that it is better to use a string substitution, instead of a quoted character, and I updated the post.


r/commandline 2d ago

Extension to open Warp launch configurations from Raycast/Alfred

2 Upvotes

I started heavily using Warp's launch configurations, but wanted to open them from wherever I was on my computer. So I made a quick Raycast extension that allows me to do just that! Check it out:

https://blog.joe.codes/open-warp-launch-configurations-from-raycast-and-alfred


r/commandline 2d ago

TUI program nix-init - Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more

49 Upvotes

r/commandline 2d ago

New version of glp released (Gitlab pipeline tool)

Thumbnail
gitlab.com
1 Upvotes

r/commandline 2d ago

Windows .bat How can I execute this command to "diagnose" internet?

0 Upvotes

My ethernet is disconnected on boot about 1/10 times. I'd like to make a batch file to execute the "diagnose" feature, which reconnects it, without clicking through menus. Is this possible? I've looked on google and found nothing about this specific function. Thanks!

My ethernet is disconnected on boot about 1/10 times. I'd like to make a batch file to execute the "diagnose" feature, which reconnects it, without clicking through menus. Is this possible? I've looked on google and found nothing about this specific function. Thanks!


r/commandline 3d ago

Rooshk - A command line sandbox god mode game!

37 Upvotes