jamiefdhurst, to Bash

Whenever I need to create a quick script (and I can't easily do it in or ) without tests and for ease, I'll typically use . I've spotted others doing the same in , , etc. Does everyone go back to the language they're most familiar with in these scenarios?

tymwol, to rust

It was one time too many that cut didn't do what I wanted it to do. I decided to create my own alternative that works similarly but splits strings by arbitrary whitespaces. It does only this, but 99% of the time this is what I would expect cut to do. I called it knife 🔪, so it is easy to remember as a drop-in replacement. https://github.com/twolodzko/knife

gnulinux, to nano German
@gnulinux@social.anoxinon.de avatar

Nano 8.0 - oder doch lieber Micro?

Nano, der Texteditor für die Kommandozeile, bietet in der neuesten Version Key-Bindings, die auch Normalsterbliche bedienen können.

#Terminal #Editor #cli #Nano #Micro #Linux

https://gnulinux.ch/nano-8-0-oder-micro

feditips, to mastodon
@feditips@mstdn.social avatar

(One for techy people today...)

Command line / terminal fans!

You can use Mastodon through a command line interface or a terminal user interface using the third party app "toot" for Linux etc:

➡️ https://toot.bezdomni.net

It's free and open source, find out more at the link.

This also works with Mastodon-compatible servers.

By the way, this app toot has nothing to do with the other third apps Toot! or Tooot, they just have very similar names.

#CLI #TUI #Mastodon #CommandLine #Terminal

janriemer, to rust

for

https://rust-for-linux.com/coccinelle-for-rust

"Coccinelle is a tool for automatic program matching and transformation that was originally developed for making large scale changes to the Linux kernel source (ie, C code)."

- GritQL is a language for searching, , and modifying code.

https://docs.grit.io/

- A tool for code structural search, lint and rewriting. Written in :ferris:

https://ast-grep.github.io/

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

Just updated my WezTerm¹ configuration file. (In case you’re the kind of person that gets excited by such things.) 👋🤓

https://codeberg.org/aral/.config/src/branch/main/wezterm.lua

¹ https://wezfurlong.org/wezterm/

#WezTerm #config #dotConfig #terminal #cli

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. 😮

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

scy, to linux
@scy@chaos.social avatar

Unix wishlist: A flag for tee(1) that will have it read from stdin and write into its output file(s) as fast as possible.

Currently, it will only read from stdin as fast as its own stdout can process the data, even if stdin could supply it faster.

Instead, if it wrote to the file(s) as fast as possible and serve stdout from these files, stdin could be depleted and closed faster, which is (e.g.) nice to the web server if stdin is curl or something.

Kovah, to linux
@Kovah@mastodon.social avatar

Is there a website where I can find and browse to common (built-in) tools? 🧐

Like dog for dig, duf for df, or glances for htop/top.

linuxuserspace, to history
@linuxuserspace@mastodon.social avatar

Today in User Space
📈We enable MORE
🐧Get enticed by distros
📖Look back into our own personal
🗒️Fall down the rabbit hole
🎨And add a splash of color to our


https://www.linuxuserspace.show/415

fabian, (edited ) to python
@fabian@floss.social avatar

OK, people, a little game: Your favourite new (-ish, recently discovered) Python command line utility?

3, 2, 1, go!

(Just looking for an excuse to try out my new pipx installation. I know, there's probably not a lot to ‘try out’, but…)

ebel, to Bash
@ebel@moytura.org avatar

Any good cli/terminal spell checking programmes? Pass in a file, get an terminal interactive “replace this with that / ignore / add to dict.” workflow.

I remember using aspell(1) back in Ye Olden Days. Is that still the best?

:boost_ok:

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 .

brunus, to linux French
@brunus@mamot.fr avatar

Quand t'as une clé USB soit-disant en "read only filesystem" sur laquelle tu ne peux plus copier de nouveaux fichier, supprimer des fichiers ou en éditer :
dosfsck est ton ami !
Trouve le moint de montage :
sudo fdisk -l
démonter la clé
sudo umount /dev/sda1 (le point de montage trouvé par la commande précédente)
sudo dosfsck /dev/sda1
Et tu réponds 1 à toutes les propositions de corrections ! (ou presque...use your brain !)
...sur un malentendu ça marche...

hugovk, to python
@hugovk@mastodon.social avatar

Just released: norwegianblue 0.15.0, the CLI for showing release and end-of-life dates.

https://pypi.org/project/norwegianblue/0.15.0/

https://github.com/hugovk/norwegianblue/releases/tag/0.15.0

yoavlavi, to rust

What are your favorite utilities?

Bonus points:

  • Fast
  • Written in a memory safe language (e.g. )
  • Has a good interface
  • A good solution / increases productivity
  • Installable via

changelog, to ShareYourMusic
@changelog@changelog.social avatar

sshx lets you share your terminal with anyone by link, on a multiplayer infinite canvas. It has real-time collaboration, with remote cursors and chat.

It's also fast and end-to-end encrypted, with a lightweight server written in Rust (so you know it's cool).

🔗 https://sshx.io/

danrot, to random
@danrot@mastodon.social avatar

💡Recently I had the idea to use shell variables for my commands to make them more reusable when executing that from my history in .

✏️ To better explain how I have done that, I wrote a blog post about it!

❓ Do you also have nice use cases for shell variables? It feels to me like I have heavily underused them until now...

https://danielrotter.at/2023/09/02/making-the-shell-history-more-useful-by-using-shell-variables.html

gregorni, to linux
@gregorni@fosstodon.org avatar

I just learned you can set sudo to insult you if you type the wrong password!

It's Foss – Make Sudo Insult User For Each Incorrect Password Attempt
https://itsfoss.com/sudo-insult-linux/

lukaso666, (edited ) to linux Polish
@lukaso666@chaos.social avatar
Adorable_Sergal, to linux
@Adorable_Sergal@hachyderm.io avatar

is there something like xscreensaver but for CLI

ebel, to webdev
@ebel@moytura.org avatar

How can I “parse” HTML from the command line? I want to get the current favicon of a page.

in CSS that's selected with head link[rel~=icon]. Is there a linux CLI tool so I can curl example.com | extract_html_node "head link[rel~=icon]" (and then the href attribute somehow).

With xmlstartlet I can use xpath (//head//link@rel='icon'/@href), but I know I can't rely on it being valid XML 😉

[

synlogic, to vim
@synlogic@toot.io avatar

RIP Bram Moolenaar

I've used vim for decades. vi before that

vim is my code editor of choice. writing tool of choice. config tweaker. UI mockup tool. and on and on...

my latest game under dev (Slartboz, in Golang) is written 100% using vim. and Slartboz itself is a curses-based program which runs in a Unixy terminal & shell. like vim

few perfectly good & truly wonderful things in our world. vim is among them

#vi #vim #Linux #UNIX
#foss #opensource
#cli #terminals #shells
#curses
#ncurses

davidbisset, to random
@davidbisset@phpc.social avatar

Terminal Trove – A collection of , TUIs and all things in the terminal. Might be good place to geek out for .

https://terminaltrove.com/

  • 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