• Trends
  • Topics
  • Nodes
Search for keywords, #hashtags, $sites, add a dash to exclude, e.g. -$theonion.com

From both.org

sync — The command you never heard of - Both.org

2 2

Have ever heard of the sync command? Have you heard of it but then forgotten all about it -- like me? The sync command is one that I tend to ignore most of the time. I mean, I have added it to many of my scripts but then never think of it again. But what does it do and why…

#linux #opensource #commandline

18h ago

From both.org

Colorful disk management with dfc - Both.org

0 1

The dfc command in Linux is a powerful tool that provides users with information on file system space usage. It is a tool similar to df, which provides a snapshot of your file system. Here is a look at my file system using the df command: don@Jude:~$ df Filesystem 1K-blocks Used Available Use%...

on Thu, 1PM

From both.org

Why should I subscribe to Both.org? - Both.org

0 1

We're hoping you'd want to subscribe to our site to begin conversations with our writers and with other readers. This can be done by commenting on articles that allow comments -- and most of them do. But you must be subscribed to Both.org to be able to do that. Here is what we will do with the...

on Wed, 3PM

From both.org

How I delay code execution in Bash until a remote host is responding - Both.org

0 1

I have recently been working on some code that needs to run on a remote host using SSH. I describe this in my article, Using tar and ssh for backups. But now I need to reboot the remote computer and wait until it has completely rebooted and the network is up and running. Only after that occurs...

on Tue, 12PM

From both.org

The Linux Philosophy for SysAdmins, Tenet 15 — Strive For Elegance - Both.org

0 1

Author’s note: This article is excerpted in part from chapter 17 of my book, The Linux Philosophy for SysAdmins, with some changes to update the information in it and to better fit this format. https://www.cnn.com/travel/millau-viaduct-tallest-bridge-construction/index.html Strive for elegance...

on Mon, 1PM

From both.org

A quick look at DNF5 - Both.org

0 1

DNF5 is the new DNF. With Fedora 41, it replaces DNF, and brings with it a new command as well as some new, upgraded, and renamed sub-commands. The good news is that, despite the actual command being dnf5, the plain dnf command is still there -- its a link to the dnf5 command. # ll /usr/bin/dnf...

on Sun, 1PM

From both.org

Creating photo collages with Linux - Both.org

0 1

Open source software is amazing and it seems like there are always solutions that come in handy when I look hard enough. Today was one of those days when an internet search for a query I read on Mastodon netted another open source solution. Mastodon user, Bryan Mitchell asked “Are there any...

on Sat, 1PM

From both.org

How I used fdisk in a script to partition a drive - Both.org

0 0

Image by Gerd Altmann on Pixabay. As you probably know by now, I believe in automating everything. So when one of my scripts failed to properly partition and create an EXT4 filesystem on a new 4GB external USB hard drive, I was surprised -- but I shouldn't have been. The problem As usual, this...

on Nov 8

From both.org

21st Century System Administration (Or: How I learned to stop worrying and love systemd) - Both.org

0 0

Let me introduce myself. I saw an article here encouraging others to write their first (and maybe subsequent?) articles about open source. I've been interested in open source for quite some time, and I'd like to take advantage of my writing skills as well. Let me tell you a little about myself,...

on Nov 7

From both.org

Securely erasing your data on Linux - Both.org

0 0

Many people choose to encrypt their disk drives because it ensures that their data stays secure and safe from the prying eyes of others. I always shy away from encrypting my disk because I don't need that security. When one of my computers reaches the end of life, or I decide to sell it, then I...

on Nov 6

From both.org

The Linux Philosophy for SysAdmins, Tenet 14 — Use Open Source software - Both.org

0 0

Image by Opensource.com: CC-by-SA 4.0 Author’s note: This article is excerpted in part from chapter 16 of my book, The Linux Philosophy for SysAdmins, with some changes to update the information in it and to better fit this format. This tenet may not mean exactly what you think it does. Most...

on Nov 5

From both.org

A short review of Fedora 41 - Both.org

0 0

Fedora 41 was released on October 29, and I installed it on my primary workstation within a few minutes after I received the notification. No point in waiting, right? I make daily updates every night so I didn't need to do that again as nothing had changed. I used a script I developed several...

on Nov 4

From both.org

Essential steps for creating a USB boot drive for Linux - Both.org

0 0

I usually keep a bootable Linux USB drive with me because I never know when I will need to use one to rescue a crashed Microsoft Windows machine or turn someone on to the Linux desktop. Most distributions, including my daily driver, Linux Mint Cinnamon, have utilities that make boot disk...

on Nov 3

From both.org

How to write your first article with Both.org - Both.org

0 0

Join the community by writing an article for Both.org.

on Nov 1

From both.org

Print a spooky greeting in ASCII art - Both.org

0 0

Generate colorful ASCII art from a C program using FreeDOS.

on Oct 31

From both.org

How I reverted from firewalld to iptables — and why - Both.org

0 0

First, let's get something straight. Linux has only one firewall. One. Netfilter is a part of the Linux kernel and it implements the logic contained in a series of rules that describe how each network data packet is to be handled. Netfilter performs the functional tasks of inspecting each data...

on Oct 30

From both.org

Open WebUI: A Powerful, Open Source Interface for LLM - Both.org

0 0

Open WebUI offers a robust, feature-packed, and intuitive self-hosted interface that operates seamlessly offline. It supports  various large language models like Ollama and OpenAI-compatible APIs,  Open WebUI is open source with an MIT license. It is easy to download and install and it has...

on Oct 29

From both.org

The Linux Philosophy for SysAdmins, Tenet 13 — Make programs portable - Both.org

0 0

Image by Opensource.com: CC-by-SA 4.0 Author’s note: This article is excerpted in part from chapter 15 of my book, The Linux Philosophy for SysAdmins, with some changes to update the information in it and to better fit this format. Portable programs make life much easier for the lazy SysAdmin....

on Oct 28

From both.org

What does it mean to be a SysAdmin? - Both.org

0 0

A lot of us call ourselves SysAdmins (aka System Administrators1) and, sometimes, that's what our job title might be. You might not even realize that you're a SysAdmin. You might already be a SysAdmin, whether you are aware of that fact or not, or if you exhibit some propensity towards system...

on Oct 27

From both.org

Portable programming practices - Both.org

0 0

Sometimes it's easier to define your API to hide the platform-specific code

on Oct 26

From both.org

Writing portable C programs - Both.org

0 0

Jim shares this follow-up to an earlier article about programming across platforms.

on Oct 25

From both.org

Welcome, “We (heart) Open Source” - Both.org

0 0

We ❤️ Open Source is

on Oct 24

From both.org

The Linux Philosophy for SysAdmins, Tenet 12 — Use separate filesystems for data - Both.org

0 0

Author’s note: This article is excerpted in part from chapter 14 of my book, The Linux Philosophy for SysAdmins, with changes. There is a lot to this particular tenet and it requires understanding the nature of Linux filesystems and mount points. If you missed Tenet 4, “Use the Linux FHS,” you...

on Oct 22

From both.org

Fastfetch: system information tool - Both.org

0 0

Recently, I wrote about Neofetch, which is a tool that I have used in the past on Linux systems I owned. It was an easy way to provide a good snapshot of the distribution I was running and some other pertinent information about my computing environment. One of my readers replied to let me know...

on Oct 21

From both.org

Celebrating technical writing with open source software - Both.org

0 0

Celebrate the National Day on Writing by sharing your first article about open source software.

on Oct 20

From both.org

Why I won’t use the BtrFS filesystem - Both.org

0 0

Over the more than twenty-five years I have been using Linux, the default filesystem for Red Hat Linux (not RHEL) and Fedora has evolved considerably. EXT2, the second extended filesystem, was the default when I started using Linux and it had many drawbacks including but not the least of which...

on Oct 19

From both.org

Simplifying AI Interaction: A Deep Dive into Hollama’s Minimalist Web Interface for Ollama - Both.org

0 0

I’ve continued the large language model learning experience with my introduction to Hollama. Until now, my experience with locally hosted Ollama has been querying models with snippets of Python code, using it in REPL mode, and customizing it with text model files. Last week that changed when I...

on Oct 18

From both.org

Calculate letter frequency in gawk - Both.org

0 0

Write a gawk script to determine the most (and least) common letters in a set of words.

on Oct 18

From both.org

Programming across platforms - Both.org

0 0

Using these C compiler preprocessor directives to detect the operating system can make it easier to support multiple platforms at once.

on Oct 17

From both.org

How to share your system configuration visually - Both.org

0 0

Many individuals find it beneficial to disseminate their tailored Linux setup. This could be out of a desire for troubleshooting assistance, or because they wish to exhibit the environment that resonates deeply within them as open-source aficionados—or perhaps both reasons combined! To share...

on Oct 17

From both.org

What is an operating system? - Both.org

0 0

The operating system manages the operation of the computer and of the application software which runs on the computer. The definition A simple definition of an operating system is that it is a program, much like any other program. It is different only in that its primary function is to manage...

on Oct 10

From both.org

The dd command — the Disk Destroyer - Both.org

0 0

Yes -- dd -- the disk destroyer. The command that strikes fear into the hearts of SysAdmins everywhere. It did for me, too, until I discovered how much power is contained in those twin letters. Officially known as “disk dump,” many sysadmins call it “disk destroyer” for good reason. Many of us...

on Oct 9

From both.org

Harnessing Ollama for financial analysis - Both.org

0 0

Several weeks ago, a person asked me to assist her with organizing her financial records and taking them to a tax professional. This person does not use a financial program like GnuCash, which could make that project much more effortless. Instead, we downloaded a CSV file from her bank, and then...

on Oct 8

From both.org

The Linux Philosophy for SysAdmins, Tenet 10 — Use common sense naming - Both.org

0 0

Typing is not my forte and the Lazy SysAdmin does everything possible to reduce typing. I take that seriously. This tenet expands on that but there is much more to it than just reducing the amount of typing I need to do. It is also about the readability of scripts and naming things so that they...

on Oct 7

From both.org

Perfctl malware infects thousands of Linux hosts since 2021 - Both.org

0 0

ArsTechnica has an article about the thousands of Linux systems infected by this well-designed malware that's been dubbed Perfectl. The vulnerability, identified as CVE-2023-33246, is in Apache RocketMQ versions 5.1.0 and below. Another reference in the ArsTechnica article to CVE-2021-4043,...

on Oct 6

From both.org

I found a new way to stress-test my Linux hosts - Both.org

0 0

I just discovered an important little program that allows me to stress-test my Linux hosts. Its name is -- stress -- of course. Stress has been around for some time, and this is a resurrection of a previous version, though I can't find any information about that earlier one. This incarnation is...

on Oct 4

From both.org

The Linux Philosophy for SysAdmins, Tenet 09 — Test Early, Test Often - Both.org

0 0

You know it's as easy to forget to write about testing the programs I write as it is to overlook testing the programs themselves. Why is that? I wish I had a definitive answer. In some ways it is like documentation. Once the program seems to work we just want to get on with doing whatever task...

on Oct 3

From both.org

VirtualBox failures - Both.org

0 0

I just tried to update VirtualBox and encountered some strange problems. It started when a student of mine tried to update their Fedora 40 host and received an interesting error,

on Oct 2

From both.org

4 ways to write your first article - Both.org

0 0

Write an article about your open source experience.

on Oct 1

From both.org

Unlocking the secrets of the /proc filesystem - Both.org

0 0

In a previous article, 4 open source tools for Linux system monitoring, I looked at tools like top, htop, and others, that allow SysAdmins to look inside the running Linux kernel. But there is also this thing called the observer effect which is a theory in the scientific discipline of physics...

on Sep 30

From both.org

My oldest computer is 19 years old; Linux keeps it going - Both.org

0 0

Longevity – an interesting word. I use it here to help clarify some of the statements that I hear many people make. These statements are usually along the lines of “Linux can extend the life of existing hardware,” or “Keep old hardware out of landfills or uncertified recycling facilities.” So...

on Sep 29

From both.org

How I create Linux device files — and why - Both.org

0 0

First, what the heck is a Linux device file -- and why should I care? Linux handles almost everything as a file. This has some interesting, powerful, and amazing implications. This concept makes it possible to copy an entire hard drive, boot record included, because the entire hard drive is a...

on Sep 27

From both.org

How to untangle the systemd-resolved DNS mess - Both.org

0 0

The change from the venerable nsswitch and NetworkManager to systemd-resolved has damaged and slowed name services. The result of this resolver change was apparent in a number of symptoms. Inability to find the addresses of most remote servers resulting in timeouts was the most noticeable. When...

on Sep 26

From both.org

Elevating Your Writing with Ollama and Phi3 Model Synergy - Both.org

0 0

In today’s digital age, writers seek tools that enhance their craft and provide real-time feedback and assistance. Enter Ollama - an open-source machine learning system designed to democratize accessibility for natural language processing tasks across a wide range of languages and scripts with...

on Sep 25

From both.org

Do I really need to know how to compile the Linux kernel? - Both.org

0 0

Most lists of things we do to learn Linux ignore the bits you don’t really need to do. Here is one I can suggest you skip as not being worth the time you might invest. Compiling the kernel Don’t bother. This might be a nice exercise if you are a developer, or trying to get the last bit of CPU…

on Sep 24

From both.org

5 Linux commands you should never run (and why) - Both.org

0 0

Sometimes we run into articles on other sites that we wish we'd written. This one on ZDNET is an excellent example. There are some commands that should never be run. As SysAdmins we should know what they are. The ZDNET article, 5 Linux commands you should never run (and why), covers five of...

on Sep 23

From both.org

Secure electronic document disposal with Linux - Both.org

0 0

We can't be too careful about ensuring that our personal data is safe, both paper documents and electronic ones. I'm sure I don't need to go into all the reasons why proper disposal of our data is important Paper document disposal Many of my paper documents contain personal or financial data. I...

on Sep 21

From both.org

Using Python and Ollama on a Linux desktop - Both.org

0 0

Continuing my exploration of using a locally hosted Ollama on my Linux desktop computer, I have been doing a lot of reading and research. Today, while having lunch with a university professor, he asked me some questions I didn’t have an immediate answer to. So, I went back to my research to find...

on Sep 20

From both.org

The Linux Philosophy for SysAdmins, Tenet 08 — Always use shell scripts - Both.org

0 0

Author’s note: This article is excerpted in part from chapter 9 of my book, The Linux Philosophy for SysAdmins, with some changes to update the information in it and to better fit this format. When writing programs to automate -- well, everything -- always use shell scripts. Because shell...

on Sep 19

From both.org

Write a guessing game in ncurses - Both.org

0 0

Use the flexibility of ncurses to create a guess-the-number game on Linux.

on Sep 18