johnfrancini.bsky.social
I'm an engineer at Red Hat. I help Red Hat's software and hardware partners certify their products to run with Red Hat Enterprise Linux, OpenShift (Kubernetes), and others.
Also a Mac user and general geek.
3 posts
2 followers
3 following
comment in response to
post
I have it set in my .bashrc so it's always there. Otherwise I tend to aim at my foot and shoot way too often. As I've been using CLIs for some 50 years, only Unix derived OSes' file semantics let you overwrite a file while it's open for read. Windows (much as I hate it) doesn't.
comment in response to
post
In bash you can put this in your .bashrc:
set -o noclobber # Don't clobber (overwrite) files in redirection operations
narf-jukebox> cat > file.txt
hello world
^D
narf-jukebox> cat file.txt > file.txt
-bash: file.txt: cannot overwrite existing file
narf-jukebox>
comment in response to
post
Saw your article on Stat about leaving X. Finally got me to join Bluesky. My wife + my sister are coming up on 5 years post-cancer, and so this is always in the back of my mind.
The NEW terms are in the Dentrassi sleeping quarters on the Vogon Constructor Fleet ship on its way to destroy Earth.