changelog, to rust
@changelog@changelog.social avatar

bpftop provides a dynamic real-time view of running eBPF programs

🔗 https://github.com/Netflix/bpftop

video/mp4

scy, to linux
@scy@chaos.social avatar

Did you know:

chown scy: some_file

(note the colon after scy) changes the owner of some_file to scy, and the group to scy's primary group. No need to look it up or type it out.

governa, to ubuntu
@governa@fosstodon.org avatar
awoodsnet, to php
@awoodsnet@phpc.social avatar

As I prepare my Tek talks — “Shell Scriptung for PHP Developers” and “Better Dotfiles” — are there specific issues/aspects you’d like me to cover?

adamsdesk, (edited ) to Help
@adamsdesk@fosstodon.org avatar

🚨 Help Wanted 🚨

Can anyone tell me how to make fzf refresh or reload right after a key binding command completes? So you would only press one key binding, not press the desired key binding and then another to reload.

scy, to linux
@scy@chaos.social avatar

Nice trick for retrieving the current cursor position in bash:

IFS=';' read -sdR -p $'\E6n' row col && echo "row ${row#*[} column $col"

https://unix.stackexchange.com/a/183121

This is not POSIX-compatible though because of the flags in read.

I've used this to add an empty line in front of all of my shell prompts, except when on the top of the screen (i.e. in a new shell).

https://codeberg.org/scy/dotfiles/commit/f18000298473f78540723224e8f73971e26996ac

[#Linux #bash #CLI #cursor #prompt #terminal

scy, (edited ) to linux
@scy@chaos.social avatar

users! I'm curious how many of us are using "modern", "enhanced", "reimagined" versions of classic command-line tools. Think bat instead of cat, rg instead of grep, exa instead of ls.

If you don't use them, why? Is the installation overhead too much, e.g. because you're using a lot of machines? Does your brain need to stay compatible with the standard tools for some reason?

Feel free to write a reply, the poll can't possibly cover everything :)

aral, to linux
@aral@mastodon.ar.al avatar

It’s bloody 2024, think we can agree on either wget or curl being installed by default on every freaking operating system by now so shell scripts can have a guaranteed way of carrying out http requests?

I mean it’s been about 35 years. I think it’s about time.

Polynomial_C, to random Catalan
@Polynomial_C@mastodon.social avatar

or bust

ajblue98, to gpt
@ajblue98@mastodon.online avatar

Introducing CLIx, the Command Line Translator

I made a for anyone wanting to translate between/learn how to use the in

Just type in a command you already know or ask it how to do something, and you'll get a straight-to-the-point answer for all three systems.


, ,

https://chat.openai.com/g/g-TXY7TIuRn-clix-command-line-translator

cs, to random
@cs@mastodon.sdf.org avatar

Default install colors seems to have a lot of white/gray text on light blue background. This combo has too little contrast. I cannot see what it is telling me. 😮

Theeo123, to linux
@Theeo123@mastodon.social avatar

https://www.omgubuntu.co.uk/2024/02/warp-terminal-official-linux-release

via: @omgubuntu

WARP is a new Closed-source Terminal written in Rust with AI built in, and it functions a lot like an IDE, rather than a traditional terminal.

The link above contains a really impressive demo video. The features are too numerous to list here, I highly suggest you click through and read the article at OMGUbuntu and watch the video.

scy, to Bash
@scy@chaos.social avatar

TIL that you can

. <(some_command)

in bash to read bash-formatted variable assignments into the current environment. In other words, the dot ("source") command supports reading from process substitution.

some_command | . /dev/stdin

on the other hand does not work, I guess because it's running in a subshell…?

Replace some_command with something like echo foo=bar if you don't quite understand what I mean.

#bash #CLI #shellscripting

scy, to linux
@scy@chaos.social avatar

Who thought it was a good idea to let #vdirsyncer print "uploading item [id] to [name of local calendar]" when it's actually simply inserting some event from the remote side to the local one?

Imagine my anxiety when I tried to make extra sure (with read_only=true etc.) that it does NOT modify my Google Calendar while I'm setting everything up, only to then read hundreds of "uploading" messages?

(It simply always says "uploading", no matter what the destination is.)

#Linux #CLI #UX

summeremacs, to emacs
@summeremacs@fashionsocial.host avatar

I just posted a new file about how I got into using , , the , and other things.

Here it is: https://github.com/summeremacs/public/blob/main/20230629T180135--how-i-came-to-use-emacs-and-other-things__emacs_explanation_linux_origin_raspberrypi_story_terminal.org

And no @daviwil, I'm still not starting a blog to post this stuff. 😀

nojhan, to python
@nojhan@mamot.fr avatar

New software: watch your last notifications right in the terminal, with the CLI bard, a very simple, yet good-looking, command-line tool.
https://github.com/nojhan/clibard

nojhan,
@nojhan@mamot.fr avatar

The CLI bard now has a vertical layout and responds to user signals for refreshing the horizontal one. https://github.com/nojhan/clibard

Goffi, (edited ) to random French
@Goffi@mastodon.social avatar

After , I've now pushed implementation of a output in frontend, which shows A/V call video streams directly into your terminal! It's using or image protocols, or half-blocks (thanks to )

I'm not aware of any other CLI tools doing something similar ( or not). It's not as useful as GUI, but it's quite fun :)

Attached are 2 demo videos of call between Libervia and , on .

ChrisShort, to macos
@ChrisShort@hachyderm.io avatar

If you're on a Mac and have never used pbpaste and pbcopy on the CLI, you're missing out. I love taking the contents of my paste buffer and running sed on it to get the output I want: pbpaste| sed -e s/:/-/g #macOS #CLI

wezm, to rust
@wezm@mastodon.decentralised.social avatar

Numbat (https://numbat.dev/) is a calculator thing that understands units. They recently added some date and time support, which I'm hoping will satisfy my need for easy to use date math. #Rust #cli

larsmb, to linux
@larsmb@mastodon.online avatar

Y'all got your config files under version control too, right? As one should?

> # echo '$Id: .bashrc,v 1.29 1999/01/30 21:47:51 lmb Exp $'

... maybe it's time to drop the rcs headers tho

tantramar, to macos
@tantramar@nojack.easydns.ca avatar

Just picked up a copy of Joe Kissell’s Take Control of the Mac Command Line with Terminal, 3rd edition. @joekissell https://www.takecontrolbooks.com/command-line/?attribute_pa_format=ebook

rohad, to linux
@rohad@fosstodon.org avatar

This cli tool might be really good for others, like me, who are new to Linux. I love it.

"eg" outputs examples of common commands you query. I tried out "eg touch" in the left panel and this is what came out. Bit more info in the right panel.

You can install it with pip ("sudo apt install pip" then "pip install eg").

More info here: https://github.com/srsudar/eg

royal, to mastodon
@royal@theres.life avatar

So what's the word on command-line Mastodon clients? I'm used to Tusky on Android or the Advanced web UI.


@amin @rl_dane

rvr, to Futurology
@rvr@floss.social avatar

Command Line Interface Guidelines https://clig.dev/

«An open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day».

#computing #cli

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines