How to Find Out What Version of Linux You Are Running

---------- On Red Hat Linux ---------- 
$ cat /etc/redhat-release

---------- On CentOS Linux ---------- 
$ cat /etc/centos-release

---------- On Fedora Linux ---------- 
$ cat /etc/fedora-release

---------- On Debian Linux ---------- 
$ cat /etc/debian_version

---------- On Ubuntu and Linux Mint ---------- 
$ cat /etc/lsb-release

---------- On Gentoo Linux ---------- 
$ cat /etc/gentoo-release

---------- On SuSE Linux ---------- 
$ cat /etc/SuSE-release

AS you can see this various depending on on which form of the original Linux Operating System so I usually end up searching for this as it is not something that I use day to day in my professional or work life. I hope it makes somees’s day that much easier. 🙂

Views: 7

Similar Posts

  • Recreating discontinued menu items from Cracker Barrel

    My family dines at this restaurant semi regularly and sometime during the COVID “end times” the chain discontinued two of our favorite breakfast items, the Uncle Herschel’s Favorite and the Sunrise Sampler. The staff of course does not know why menu items are changed as this is a decision made at the corporate level so there is no point in complaining to them about the missing items. I did find a thread on the Cracker Barrel Subreddit (yes that is a thing) where I was able to recreate my personal favorite, the Uncle Herschel’s Favorite and my Brother found a random review on Trip Advisor that provided his favorite, the Sunrise Sampler. In the off chance that someone else is wanting to dine on these two lost menu items I thought that providing the workaround we discovered might be helpful to others out there.

    The Uncle Herschel’s Favorate (modified)

    • Two Eggs (scrambled with cheese)
    • Grits
    • Farm-Raised Catfish
    • Fried eggs
    • Biscuits & Gravy

    In order to recreate this item on today’s menu you will need to choose the Build Your Own Homestyle Breakfast option from the menu. Fortunately, this comes with Biscuits & Gravy and two eggs already! For myself I would ask to have them scrambled with cheese but you choose your eggs however you wish. Now we will need to make the following selections:

    • Choose catfish as the meat (grilled).
    • Choose fried apples as the side.
    • Add gets as an additional side.

    If you are not a catfish fan you can choose whatever other meat option that you wish.

    The Sunrise Sampler

    • Two eggs (scrambled with cheese)
    • Grits
    • Fried Apples
    • Hashbrown Casserole
    • Meat sampler (Bacon, Sausage, and Country Ham)
    • Biscuits & Gravy

    Much like the prior item you will need to choose the Build Your Own Homestyle Breakfast option from the menu. Fortunately, this will come with Biscuits & Gravy and two eggs already! My Brother would also ask to have them scrambled with cheese but you choose your eggs however you wish. Now we will need to make the following selections:

    • Choose meat sampler as the meat.
    • Choose fried apples as the side.
    • Add hash brown casserole as an additional side.
    • Add grits as an additional side.

    This is as close to the original items as we have been able to determine. Unfortunately, these now cost more than the original items but it replicates everything else that you want from Breakfast! Feel free to contact me on Mastodon if you know of a cheaper way to do this or lament other list menu items from this Midwestern stable!

    Views: 25
  • Cloudflare blocking rest API calls from WordPress’ Gutenberg editor.

    Recently WordPress has updated their WYSIWYG editor to Gutenberg which is absolutely fantastic!  The only issue thus far is that when editing or updating a post within WordPress you see is the following.

    This prevents the auto save and publish functions from working.  WordPress and Cloudflare are working on the issue and have a workaround in place.   The fix involves disabling two rules in the WordPress rules set in the Web Application Firewall settings in your Cloudflare account.

    1. Once you are logged in click on the domain that you need to edit.
    2. Click on Firewall from the top menu.
    3. Scroll down to the section titled IP Firewall Button.
      1. Click the button to the left titled Web Application Firewall.
    4. Look for the section titled Package: Cloudflare Rule Set.
      1. Click Rule Details.
    5. Scroll down to the section titled Cloudflare WordPress and click the link.
    6. Click on page 4 from the pagination at the bottom of the section.
    7. Look for the rules WP0025A and WP0025A.
    8. On the far right side of the section under the Mode heading you will see a drop down list.
    9. Choose disable for both rules.
    10. You should see a green par across the bottom of the screen indicating that the settings are saved.
    11. Click the Close button.
    12. Go back to your WordPress Admin area and try to edit a post.

    Unfortunately this workaround has never worked for me even after Gutenberg was updated and Cloudflare pushed out patches on their end.  As a last resort I had to whitelist my IP from the Firewall Events section of the Firewall page.

    Now I am once again able to edit posts and whatnot in WordPress!

    Views: 13
  • Increase the Docker image size for UNRAID

    I keep having to look this up so I might as well save myself some time. 😉

    • From the UNRAID Web UI stop the RAID array under Main > Array Options > Stop Array.
    • When the UI reloaded go to Settings > Docker.
      • You should now be able to change the size of the array in GB.
    • Click the Save button.
    • Start the RAID array back up.

    Views: 65
  • A nice Windows Task Manager tip I stumbled across this weekend

    A screenshot of the Windows 10/11 Task manager application.

    I stumbled across this interesting article this week from The Verge from my beloved NetNewsWire feeds. The article is titled Today I learned you can easily pause the Windows Task Manager to stop apps moving around. The gist of the article is the below quote for those in a hurry. 😝

    I can’t believe I’ve been struggling with apps in the Task Manager randomly moving around without realizing there’s a simple keyboard shortcut to pause the Task Manager and stop its contents in their tracks. Yup, all you have to do is hold down the CTRL key and it will pause the Task Manager on both Windows 10 and Windows 11, and perhaps even older versions of Windows, too.

    Tom Warren via The Verge

    This tip only applies to Windows 10 and 11 and I wish I had known this years ago! At any rate as you can see in the original article at your leisure and I hope it helps out others out there in this wide world.

    Views: 8
  • Determine MacOS version from Terminal (CLI)

    As you may or may not know the way most people determine what version of MAcOS they are running is by clicking on the Apple Menu in the upper left hand corner of the screen and selecting About this Mac. You will see a popup dialog that looks something like this.

    Apple Photos Document
    I am using MacOS’ Dark Mode so you might not see this exact window.

    If you would like a geekier and possibly faster way to determine this you can launch Terminal by either using Spotlight Search (Click the magnifying class (🔍) in your Mac’s Menu Bar or use the hand keyboard shortcut of ⌘(Command)+Space. Once the appliation finsihes launching you will see a window that looks something like this:

    Screenshot 2024 06 12 At 12.41.33 pm
    I have gone a little nuts with customizing my terminal experience so your will most likely look totally different. 🙂

    There are two commands you can now run that will display your MacOS version:

    #Simple Output:
    gatewayy@Swordfish-II ~ sw_vers -productVersion
    15.0
    
    #More detailed Output:
    gatewayy@Swordfish-II ~ system_profiler SPSoftwareDataType
    Software:
    
        System Software Overview:
    
          System Version: macOS 15.0 (24A5264n)
          Kernel Version: Darwin 24.0.0
          Boot Volume: Macintosh HD
          Boot Mode: Normal
          Computer Name: Swordfish II
          User Name: Brett Elliff (gatewayy)
          Secure Virtual Memory: Enabled
          System Integrity Protection: Enabled
          Time since boot: 1 day, 17 hours, 29 minutes

    I keep having to search for this, so I thought I might as well put this down so others can benefit from the knowledge. If you have any questions, thoughts, etc. you can reach me via my Contact page or feel free to DM me on Mastodon.

    Via: SuperUser

    Views: 35
  • Enabling Apple Intelligence on macOS 15.1 (Sequoia) Developer Beta

    I have spent the last week or so being very confused on how to enable the macOS 15.1 Beta onto my M2 MacBook Air. I finally stumbled across the method and it made sense once I found it but it was not very intuitive. There are now two separate macOS 15 beta channels and you will need to open System Settings and navigate to General > Software update > Beta Updates. You will need to choose macOS Sequoia 15.1 Developer beta by clicking on the i symbol to the right.

    Dialog box for Beta Updates on macOS, showing a dropdown menu with options: “Off,” “macOS Sequoia 15.1 Developer Beta” (selected), “macOS Sequoia Public Beta,” and “macOS Sequoia Developer Beta.” Below, an Apple Account is listed with the email “gatewayy@gatewayy.net.” There is a “Done” button.

    Once you have selected the new beta channel you Mac should download the update and install it. Once you have installed the update and logged back in you will not immediately have the limited set of Apple Intelligence features. Apple has made them opt-in in order to not bog down their new Private Cloud Compute infrastructure that they are building out. To join the waitlist you will need to open System Settings once again and navigate to the Siri section there is a new Apple Intelligence & Siri section. You will need to select the Join Apple Intelligence Waitlist… button to proceed.

    Siri settings page featuring “Apple Intelligence & Siri” with a beta label, described as a personal intelligence system integrated into Mac, apps, and Siri. A “Join Apple Intelligence Waitlist…” button is present, with a note below about reserving a spot to experience personalized intelligence.

    Get past the marketing dialog.

    Apple Intelligence setup screen with a beta label. Features listed include “New Ways to Express Yourself,” “The Start of a New Era for Siri,” and “Built for Privacy.” There are “Not Now” and “Continue” buttons at the bottom. A link for “About Apple Intelligence & Privacy…” is also present.

    You are now on the waitlist and you should see a preparing dialog.

    Siri settings page showing “Apple Intelligence & Siri” with a beta label. Description states it is a personal intelligence system integrated into Mac, apps, and Siri. “Apple Intelligence” status is “Preparing.” A note below indicates users will be notified when it becomes available for their Mac.

    It took around fifteen minutes for this to happen and you should see the dialog change to enable Apple Intelligence and you should see a notification informing you that the feature is ready to be enabled. I am assuming that somewhere behind the scenes something regarding Apple’s Private Cloud Compute is being created for your device.

    Now, you will see a few short dialogs giving you a brief overview of the current Apple Intelligence features.

    You are now up and running with Apple Intelligence. It is very much early days and only a very small set of features are available with more to come in the next few months.

    Views: 2