Peter Bui · @pnutzh4x0r
10 followers · 111 posts · Server social.ndlug.org

My shell script for generating mailboxes for has been failing lately and I was very confused because it worked for over a decade.

After about 30 minutes of debugging, I realized it was because I accidently put a trailing space at the end of a new folder I made... which my pipeline did not like :|

Whitespace in file names... not even once

#mutt #shellscripting #fail

Last updated 2 years ago

Beej · @beejjorgensen
140 followers · 283 posts · Server mastodon.sdf.org
Miguel Afonso Caetano · @remixtures
601 followers · 2399 posts · Server tldr.nettime.org

: "AI tools empower technical writers with scripting capabilities, whether it be shell scripts, Python scripts, CLIs available at your work, or more. In particular, shell scripting can help you automate parts of your build process that are tedious, making it easier to push docs through advanced build and publish processes. In a world of doc ops, where continuous builds and publishing are becoming the norm, tech writers need as much automation as possible with these processes."

idratherbewriting.com/learnapi

#ai #technicalwriting #softwaredocumentation #apidocumentation #shellscripting

Last updated 2 years ago

Aleks76 · @Aleks76
1 followers · 7 posts · Server mastodon.borsos.at
Miguel Melón :silverblue: · @miguelfito
23 followers · 63 posts · Server fosstodon.org
ShantiS · @Shantis
15 followers · 77 posts · Server mstdn.social

@sashag ‘comm’ and ‘diff’ along with ‘find’ and ‘sed’ were my favorite tools … schools are graduating CS students today who have never used a single tool on Linux (other than perhaps ‘cd’ and ‘ls’) … they write complex code in python and SQL when a single command line could solve their file processing problems

#shellscripting #Linux

Last updated 2 years ago

David Cantrell 🏏 · @DrHyde
152 followers · 716 posts · Server fosstodon.org
Nicolas Kosinski · @nicokosi
34 followers · 72 posts · Server fosstodon.org

'trurl' seems to be a handy tool for URL manipulations. 🧑‍💻
curl.se/trurl 🔗

#shellscripting

Last updated 2 years ago

I wrote a script to resolve lists of domains from stdin, since dnsx and the like does not like my VPN settings.

(feedback appreciated - Bash noob)

github.com/n0kovo/dnsplz

#bugbounty #dns #dnsrecon #bash #shellscript #shellscripting #bashscript #enumeration #dnsenumeration #infosec

Last updated 3 years ago

Trying to sharpen my Bash skills...

Any suggestions for improvement? Is there a smarter way to do this? (of course there is)

gist.github.com/n0kovo/94a94c7

ADHD, sleep deprivation and control flow is one hell of a combo 🥴

#bash #script #shellscript #shellscripting #codinghelp #codereview #coding #bugbounty

Last updated 3 years ago

Kevin Turing · @ovmoro
138 followers · 790 posts · Server queer.party

Is using ‘shutdown’ from the command line bad-form? I’ve started doing it a lot lately as a quick way to restart, but I’m worried it’s not cleaning up after itself correctly or something

#shellscripting #programming #techquestion

Last updated 3 years ago

MattPounsett · @MattPounsett
43 followers · 99 posts · Server fosstodon.org
Maciej Barć · @xgqt
282 followers · 2994 posts · Server fosstodon.org

Remember, always use ${} instead of just $ for variable expansion ;)

#shellscripting #linux

Last updated 3 years ago

Diego · @diegopds83
30 followers · 245 posts · Server fim.social
Rami Krispin :unverified: · @ramikrispin
743 followers · 240 posts · Server mstdn.social

A great and detailed Bash script cheatsheet 👇🏼

devhints.io/bash

#shellscripting #cli #commandline #Bash

Last updated 3 years ago

Physalia-courses · @PhysaliaCourses
359 followers · 90 posts · Server mas.to

Kicking off the new year with the 3rd edition of the Unix and Shell Scripting for Bioinformatics with the brilliant João Ferreira Nunes, MSc (Federal University of Rio de Janeiro, Brazil)

#genomics #coding #shellscripting #bionformatics

Last updated 3 years ago

Jason Nabein · @jasonnab
41 followers · 1074 posts · Server mastodon.online

youtube.com/watch?v=lRqEej7K9_

catsay!! A fun little project I found online. Not my work sadly, but interesting :)

The video above is just a demonstration of the user providing input and getting a "cat" design reply out

github.com/PineconeMonster/cat

_________
|\_/| | |
|.w.| < this |
| | | is |
| | | a |
| | | preview |
| | | |
| | ¯¯¯¯¯¯¯¯¯

#shellscripting #cowsay #catsay #funny #github #unix #linux #scripting #bash

Last updated 3 years ago

Axel Rauschmayer · @rauschma
3571 followers · 1154 posts · Server fosstodon.org

Why I enjoy using Node.js for shell scripting:

* There are many libraries (that you can install via the npm package manager).
* You have the option of using TypeScript.
* The knowledge you acquire will be useful in many other contexts.

My book on this topic is free to read online: exploringjs.com/nodejs-shell-s

#nodejs #shellscripting

Last updated 3 years ago

Ben 🇪🇺 · @benofbrown
140 followers · 2213 posts · Server octodon.social

Here's a little something I do when rebooting a server, because I'm impatient. To reboot it, first I ssh in with:

ssh example.com

Then, after I've run `reboot` on the server and I've been kicked off, I run:

while ! !!; do sleep 3; done

The shell (bash/zsh probably others) will expand the `!!` to the last command I typed, and it will keep retrying it with a 3 second gap between attempts, until it succeeds or I hit Ctrl-C. After it logs in fine and I check everything's OK I log out as normal, which causes `ssh` to exit 0 which stops the loop.

#shelltips #linux #bash #zsh #ssh #shellscripting

Last updated 3 years ago

rmoff 🏃🏻 🍺 🥓 · @rmoff
731 followers · 186 posts · Server data-folks.masto.host

There are now 69 folks who are here on Mastodon listed at github.com/rmoff/devrel-mastod :)

I thought it would be interesting to analyse which the top five instances were that hosted their accounts - so scripted it :)

So time to ℝ𝕒𝕥𝕖𝕄𝕪𝔹𝕒𝕤𝕙 - any smarter way to do it? Better tools or techniques? :)

#devrel #shellscripting

Last updated 3 years ago