itsfoss, to linux
@itsfoss@mastodon.social avatar

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

Which shell do you use? Comment 👇

Toch,
@Toch@mastodon.social avatar

@itsfoss bash for ever 😊

backtoanalog,
@backtoanalog@mastodon.social avatar

@itsfoss fish

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)}"

wyri,
@wyri@haxim.us avatar

I ended up with this adding some #PHP to the one liner:

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?

gregorni,
@gregorni@fosstodon.org avatar

@mcepl I've heard good things about nushell, although I've never tried it.

gregorni,
@gregorni@fosstodon.org avatar

@mcepl Of course, zsh is also always an option. More conservative than fish, but more innovative than bash.

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

I was going to make a funny joke that I was going to create a #bash 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."

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

tripplehelix,
@tripplehelix@fosstodon.org avatar

@ManyRoads Here's mine ;) Been evolving it for a while. Might add back nala/aptitude support.

https://gitlab.com/tripplehelix/debianscripts/-/raw/main/up

frankel, to Bash
@frankel@mastodon.top avatar
tymwol,
@tymwol@hachyderm.io avatar

@frankel But why? If you want human-readable scripts, you would rather write them directly in Bash. If you want it compiled, why not compile it to binary format.

frankel,
@frankel@mastodon.top avatar

@tymwol human-readable is one of the requirements of maintainability. 1000 lines of bash script is human-readable but far from maintainable. Typing and modules would help a lot.

Binaries are non-portable, bash is widespread (but on Alpine)

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)

nf3xn,
@nf3xn@mastodon.social avatar

@Foxboron with great difficulty

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

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