itsfoss, to linux
@itsfoss@mastodon.social avatar

Happy birthday to one of the best shells, Bash!! 🥳

Which shell do you use? Comment 👇

cjerrington, to linux
@cjerrington@mstdn.social avatar

Finally rewrote my Bookmarks into bash. Check out the simple directory changer for your Linux terminal.

https://claytonerrington.com/blog/bookmarks-in-bash/

linuxmagazine, to linux
@linuxmagazine@fosstodon.org avatar

Looking to expand your open source toolbox? Check out our special issues library and dive into maker projects, advanced Linux hacks, Shell, @libreoffice and more! https://shop.linuxnewmedia.com/shop/category/special-issues-7

wyri, to php
@wyri@haxim.us avatar

Wrote a fancy one-liner because I didn't want to toss in the mix and go all in on . Actions response to it: 🖕 🖕 🖕

The first image is the full one liner, but it already 💩 out on the right image

Image of the following code: echo "${$(cat ${{ inputs.dockerfile }} | grep FROM | tail -n 1)}"

ovid, to ai
@ovid@fosstodon.org avatar

I can't imagine working without GenAI any more. I often write quick bash scripts to automate things, but for some reason, the syntax always falls out of my head and I'm constantly looking things up.

Now I just hit ChatGPT and ask it to write the script for me. With the latest version, is usually works perfectly the first time, so long as I craft a good prompt. This is a huge productivity boost.

#AI #GenAI #LLM #Copilot #ChatGPT

mjgardner,
@mjgardner@social.sdf.org avatar

@ovid Is that praise for or a condemnation of ?

masukomi, (edited ) to random
@masukomi@connectified.com avatar

Just put together a useful bash script that will open up the web page associated with a repo's remote(s)

https://github.com/masukomi/masuconfigs/blob/master/bin/git-scripts/git-open-remote

if there are multiple remotes it'll give you choice. If there's only one it'll automatically open it.

Requires Charm Bracelet's gum to be installed. There's a link in the script.

(needs testing with repo sources other than GitHub)


why? Because i was going through my repos for backup purposes and wondered WTF some of them were.

#Git #Bash

mcepl, to Bash Czech
@mcepl@floss.social avatar

Back from outing: getting out of is really hard. Tried going back to (even with ), tried and none of them really work (failed bug reports). Sad. Anybody know about actually working POSIX-compatible interactive shell which actually works and at least from distance can compete with fish?

stragu, to Bash
@stragu@mastodon.indie.host avatar

I was going to make a funny joke that I was going to create a utility called "splain" so I could "man splain" what it's for...
but it already exists, from perl-diagnostics (1995).
And "man splain" returns:

"produce verbose warning diagnostics"

🤯

According to Merriam-Webster:

"The splain of mansplain isn't new. It's been used to mean "explain" in texts showing informal speech or—as when Ricky Ricardo admonished his beloved in I Love Lucy—in imperfect English for at least a century."

gregorni, (edited ) to random
@gregorni@fosstodon.org avatar

I learned by accident today that you can change your working directory in Fish shell using Alt and the left/right arrow keys. It basically keeps track of the history of your directory navigation, and flips through your history.

#Shell #fish #fishShell #pwd

lw64,

@ju @gregorni Until now I have always just used the default , but maybe it's worth trying out some alternatives? Can you recommend ?

arn_fai, to Bash French
@arn_fai@toot.aquilenet.fr avatar

Nous cherchons des personnes #mal-voyantes ou #aveugles qui s'intéressent à la ligne de commande #bash, pour voir si elle seraient prêtes à essayer notre librairie pour son #accessibilite.

Il y a déjà 13 commandes à tester.

Au delà des problèmes de vue, cette librairie peut faciliter la vie d'un public plus large, puisqu'elle filtre les sorties de commandes pour les réduire à l'essentiel.

https://codeberg.org/ARN/shell-a11y

N'hésitez pas à nous contacter. 😉

#a11y #cécité #adminsys #cli

scoonch, to photoshop French
@scoonch@mamot.fr avatar

Dev Web fullstack, je termine un long CDD en fin de semaine. Je suis donc libre à partir du 3 juin.

CDI distanciel de préférence sinon je m'adapte, je suis à Paris.

Compétences en +:
Maquettiste ,
Monteur vidéo , ,
Habillage/Animation

CV dispo en mp.

linuxiac, to linux
@linuxiac@mastodon.social avatar

This guide shows you how to change your Linux shell, making the switch from(to) Bash, Fish, Zsh, or any other shell a breeze.
https://linuxiac.com/how-to-change-shell-in-linux/

ManyRoads, to debian
@ManyRoads@mstdn.social avatar

For those who like to do 'stuff' (perform tasks) via scripts, here is a ditty I just published on a Forum LiliDog (Debian based).

This script is designed to clean & update my Debian Sid base.

It may be helpful or simply prove how little I actually know. 😜

https://forum.lilidog.org/d/897-clean-update-debian-script

frankel, to Bash
@frankel@mastodon.top avatar
nsp, to linux
@nsp@mastodon.sdf.org avatar

Add this line to set the Xterm title the currently executing command:

trap 'echo -ne "\e]0;$BASH_COMMAND\007"' DEBUG

Source: https://web.archive.org/web/20110722/https://www.davidpashley.com/articles/xterm-titles-with-bash.html

#linux #bash #xterm

Foxboron, to Bash
@Foxboron@chaos.social avatar

How do you parse json in bash?

Asking for a friend.

(No, jq is not a solution here)

arn_fai, to accessibility French
@arn_fai@toot.aquilenet.fr avatar

Pour cette 13ème édition de la journée mondiale de sensibilisation à l'accessibilité #a11y, ARN, @hackstub et le groupe a11y-libre, propose à toutes les personnes qui pratiquent la ligne de commande, un hackaton « asynchrone » sur le thème « ligne de commande et cécité » !

Vous avez jusqu'au 31 mai, pour envoyer vos contributions. Il y a de nombreux lots à gagner.

https://arn-fai.net/fr/blog/shell-accessible

#shell #bash #yunohost #cli

arn_fai,
@arn_fai@toot.aquilenet.fr avatar

Notre #hackaton pour rendre les shells accessibles est en cours jusqu'au 31 mai, nous publierons ici quelques contributions chaque jour.

Xogium propose des alias #bash qui désactivent les barres de progressions sur les commandes #docker et #pipenv (#python) car ces 2 commandes détournent des caractères brailles pour l'affichage de la barre...

Voilà qui améliore effectivement l'accessibilité de ces 2 commandes. Il y en a probablement d'autres dans le même genre.

#a11y

julienbarnoin, to programming
@julienbarnoin@mastodon.gamedev.place avatar

Nowadays terminals and other text views can get rendered with GPU acceleration support, like the kitty terminal that I use.

🤔 That means we could get bloom, chromatic aberration, distortion, depth of field and other post process effects into our terminals, what are we waiting for?

v89, to linux

How to read articles/news as a #PDF in a #private and #minimalist way on #Linux.

Sometimes I'm busy and can't read at that moment, so I save the article/news as plain text in a PDF file to read it later. It works most of the time, but it's not perfect.

You'll need: torsocks (optional), lynx and LibreOffice installed.

Save it as a #bash file like "pdf.sh", make it executable with "chmod +x pdf.sh" and then use it like this:

./pdf.sh https://website.com/article

#tor #privacy

ehmicky, to programming

We just released Execa 9, which is our biggest release so far.

If you're currently using Execa, you should check out the new features! Also, if you're currently using zx or Bun shell, you might be interesting in this alternative.

https://medium.com/@ehmicky/execa-9-release-d0d5daaa097f

governa, to Bash
@governa@fosstodon.org avatar

How to Add Comments in Scripts

https://www.tecmint.com/bash-script-comments/

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:

felix, to Bash French
@felix@mamot.fr avatar
linuxmagazine, to linux
@linuxmagazine@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines