255
submitted 1 day ago* (last edited 1 day ago) by bleistift2@sopuli.xyz to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] ABasilPlant@lemmy.world 3 points 22 hours ago

I'm unsure whether your formatting messed up, but you shouldn't have a space between the shebang (#!) and the interpreter path (/bin/bash). Also add a new line before your command:

#!/bin/bash

gnome-terminal -- sh -c gotop

I tried this on my system (with htop instead of gotop) and it worked.

this post was submitted on 24 Dec 2024
255 points (96.0% liked)

Programmer Humor

19821 readers
856 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS