TIL: TIL: How to Grep For a String In .cfc File Type
Need to change a variable name across 50 files in 10 folders? Here's how to grep for that variable in .cfc files:
Articles about bash.
Need to change a variable name across 50 files in 10 folders? Here's how to grep for that variable in .cfc files:
So, I just re-installed Ubuntu on my dev machine. (18.04, whoop whoop!)
See the quick tutorial on SuperUser.
Yo, ever seen this?
Doing a big (ok, small) script to check for SSL certificates on a list of about 200 of our client websites.
So, I'm grabbing argument number three.
So after writing all about my fancy new shell prompt, I had to adjust it a little. I knew I'd gotten it wrong when I started seeing my shell commands wrap before they reached the end of the window.
Ok, so I use VS Code with an integrated terminal on the right. My terminal is really narrow, so I run out of room quickly. My bash prompt can overflow the narrow screen, so I decided to change it.
Ok, so this is nothing mind-blowing. I may spend a lot of time in bash, but very little of that goes into writing scripts. Well, today I was downloading websites using a wget script I wrote specifically for that purpose, and had to add an if statement to construct some conditional wget arguments.