My shell script for generating mailboxes for #mutt 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
#AI #TechnicalWriting #SoftwareDocumentation #APIdocumentation #ShellScripting: "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."
https://idratherbewriting.com/learnapidoc/ai-tools-build-publish-api-docs.html
#ai #technicalwriting #softwaredocumentation #apidocumentation #shellscripting
Stuff i am interested in #rockylinux #almalinux #redhat #aws #kubernetes #linuxsecurity #3dprint #shellscripting #python #groovy #terraform
also interessted for #guitars #rockmusic
more interests #emobility
#rockylinux #almalinux #redhat #aws #kubernetes #linuxsecurity #guitars #rockmusic #3dprint #emobility #shellscripting #python #groovy #terraform
@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 #Linux #ShellScripting
#TodayILearned #TIL ... `which` is not POSIX: https://lwn.net/Articles/874049/ #ShellScripting
#todayilearned #TIL #shellscripting
'trurl' seems to be a handy tool for URL manipulations. #ShellScripting 🧑💻
https://curl.se/trurl 🔗
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)
https://github.com/n0kovo/dnsplz
#BugBounty #DNS #DnsRecon #Bash #ShellScript #ShellScripting #BashScript #Enumeration #DnsEnumeration #InfoSec
#bugbounty #dns #dnsrecon #bash #shellscript #shellscripting #bashscript #enumeration #dnsenumeration #infosec
Trying to sharpen my Bash skills...
Any suggestions for improvement? Is there a smarter way to do this? (of course there is)
https://gist.github.com/n0kovo/94a94c7bfa79993df369594d852c2998
ADHD, sleep deprivation and control flow is one hell of a combo 🥴
#bash #script #ShellScript #ShellScripting #CodingHelp #CodeReview #coding #BugBounty
#bash #script #shellscript #shellscripting #codinghelp #codereview #coding #bugbounty
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
#shellscripting #programming #techquestion
Remember, always use ${} instead of just $ for variable expansion ;)
Repassando a dica de um amigo: #Bundle de livros sobre #Linux e afins a um preço bem simbólico. Pacotes com 5, 10 ou 15 livros.
Humble Tech Book Bundle: Linux and Sysadmin Tools by O'Reilly
#Linux #Livros #books #HumbleBundle #FOSS #ShellScripting #bash #vim #Docker #grep #UnixPowerTools #CodeForAmerica #ItsFOSS
#bundle #linux #livros #books #humblebundle #foss #shellscripting #bash #vim #docker #grep #unixpowertools #codeforamerica #itsfoss
A great and detailed Bash script cheatsheet 👇🏼
#shellscripting #cli #commandline #Bash
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
https://www.youtube.com/watch?v=lRqEej7K9_g
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
https://github.com/PineconeMonster/catsay
_________
|\_/| | |
|.w.| < this |
| | | is |
| | | a |
| | | preview |
| | | |
| | ¯¯¯¯¯¯¯¯¯
#bash #scripting #linux #unix #github #funny #catsay #cowsay #ShellScripting
#shellscripting #cowsay #catsay #funny #github #unix #linux #scripting #bash
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: https://exploringjs.com/nodejs-shell-scripting/
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
There are now 69 #DevRel folks who are here on Mastodon listed at https://github.com/rmoff/devrel-mastodon :)
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? :)