Recent Posts, Data Science, Linux
The command sort is used to sort files line by line.  Lines starting with a number go first. Lines that come next in order go alphabetical with uppercase letters appearing before lowercase ones. Use cat to create "testsort" for the example. ~/Test>cat testsort A line 1 a line 2 8 line 3 line 4 5 line 5 ~/Test>sort testsort 5 line 5 8 line 3 A line 1 a line 2 line 4 R sorts by using a random hash of keys ~/Test>sort -R testsorta line 25 line 5A line 18 line 3line 4 ~/Test>sort -R testsort5 line 5A line 1a line 2line 48 line 3

Egrep & Fgrep

Recent Posts, Data Science, Linux
EGREP:             The Command egrep is the same as running grep –E. egrep is used to search for a pattern using extended regular expressions. Terry@f:~/FinderDing>cat testsort A line 1 a line 2 8 line 3 line 4 5 line 5 Terry@f:~/FinderDing>egrep '^[a-zA-Z]' testsort A line 1 a line 2 line 4 *Show lines that start with a letter from alphabet Terry@f:~/FinderDing>cat html <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> Terry@f:~/FinderDing>egrep "My|first" html <h1>My First Heading</h1> <p>My first paragraph.</p> `*Find lines with pattern My first from html file FGREP: The command fgrep is the same as running grep –F. The Command searches for fixed character strings in a

Lemon-Lime on Ice

Recent Posts, Blog, Windows
Lemon-Lime Gatorade and crushed ice is (almost, coffee still #1) my new favorite beverage. I know it seems wrong, but it’s pretty nice on hot humid days - especially when I’m waiting for Windows 10 Update Assistant to finish upgrading Windows 10 on my Lenovo ThinkPad. So slow, I know I should be patient, so I finish some other work I’m chipping away at on another Linux laptop. I downloaded the latest Win 10 64 bit iso also just in case I have to build from scratch, but I wanted to have my current configuration updated by the Update Assistant so I could experience the method many users would choose.Thus, the cold beverage on such a hot day. (Which I just spilled)This entire exercise started this morning as a plan to play around with the new Windows Command line. The iso I had on hand was ve

Too Much Heat!

Blog, Hardware
A lot of weather alerts and advisories today. Global warming slowly cooks the North Eastern states. Really?. CPU temperatures push past recommended operating limits. Now that seems plausible, or does it? Regardless of what you believe to be the cause of our current weather, we all agree......It's hot! The power grid continues to provide air conditioners precious energy to cool all those lucky enough to avoid the heat and humidity. If you work outside in the heat, you know bitter cold is just a few months away and you’re probably thinking about it. Keep hydrated, and remember that the ice age we were all warned about doesn’t sound so bad now. This weather brews thunderstorms, and thunderstorms have a tendency to knock out power. When the lights go out on hot summer nig

Area 51 Goofy Goofy Goofy!

Recent Posts, Blog
Earthquake at China Lake, Power outage in NYC, tropical storm, flooding, strong thunderstorms and more strange weather - all random events with very little in common other than a cautious reminder that things happen. Sometimes you can avoid trouble, sometimes you can’t. Now there are those who can’t get into enough trouble, so they look for it. The idea that there are people toying with the idea of walking into Area 51 (Groom Lake)to see what’s there. This seems like a bad idea. You’re either going to get in trouble and have a big let down, or you might actually find an alien who is famished. That would probably be much worse. If there are actual space aliens at Area 51, leave them alone. They’re probably doing important work redesigning the next iPhone, or working on Hot Fixes f