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/

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

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

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

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

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: #cli #unix #terminal #bash #linux

felix, to Bash French
@felix@mamot.fr avatar
ChristosArgyrop, to Bash

This made my night

image/jpeg

vwbusguy, (edited ) to random
@vwbusguy@mastodon.online avatar

Doing datetime evals in always makes me a bit sad that 's built in datetime is so janky.

dcz, to Bash
@dcz@fosstodon.org avatar

#shell #trick with which I surprised greybeards at the local hackerspace (which was surprising cause I'm the opposite of a #bash expert):

mv photo{tocheck,supercool}.jpg

is the same as

mv phototocheck.jpg photosupercool.jpg

The shell copies an argument with {,} inside, and each resulting argument has a different part of what's in {}.

rm plan.{md,svg,png,odt}

Have fun!

#linux #unix #sh #tip

necrosis, to science German
@necrosis@chaos.social avatar

Leute. Ich hab sooooooooooo was geiles entdeckt.

Kennt ihr schon https://www.olivetin.app/ ?

Damit kann man Tools eine verpassen. 😍

Ok, das würde sich auch mit von umsetzen lassen. Aber dennoch.

Für unsere Beschäftigten, die eher Windows gewohnt sind kann ich so Shell Tools leichter zugänglich machen. Das ist so toll. 😍

Für sicher auch einen Blick wert. :3


Tealk, to Bash German
@Tealk@rollenspiel.social avatar

I noticed a problem in my script, if the newest account that was notified is a SpamBot and I delete it, countless old accounts are notified again.

Any ideas on how to solve this problem?

https://codeberg.org/RollenspielMonster/simple-toot

unicornCoder, to Bash
@unicornCoder@fosstodon.org avatar

i LOVE ❤️ BASH !!

it was the best solution to extract text from 1593 files.

juandesant, (edited ) to random
@juandesant@astrodon.social avatar

A one-liner for exporting your Conda environments for re-creation on another machine… but you might want to have a look at whether you actually need to recreate those environments.

for envs in $(conda env list | egrep -v "^#" | awk '{print $1}'); do echo "Exporting environment: $envs"; conda activate $envs; conda env export --no-builds | egrep -v "^prefix" > "$envs.yaml"; conda deactivate $envs; done; ls -l *.yaml  

/ht @boitarsor for improvement

chmouel, to Bash

reading the tzselect shell script from the tzdata, there is a nice flag called -c to specify coordinates, the way the script does gps coordinates to timezones in awk is pretty impressive!

so if you travel a lot and have no idea where you are located and want to set your timezone quite easily you can do something like this to approximately know where you are (it's useless i know, just interesting):

tzselect -c $(curl -s ipinfo.io|jq -r .loc| tr , -)

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