Skip to the content
Both.org
News, Opinion, Tutorials, and Community for Linux Users and SysAdmins
  • About Us
  • End of 10 Events
    • Wake Forest, NC, — 2025-09-20
  • Linux
    • Why I use Linux
    • The real reason we use Linux
  • My Linux Books
    • systemd for Linux SysAdmins
    • Using and Administering Linux – Zero to SysAdmin: 2nd Edition
    • The Linux Philosophy for SysAdmins
    • Linux for Small Business Owners
    • Errata
      • Errata for The Linux Philosophy for SysAdmins
      • Errata for Using and Administering Linux — 1st Edition
      • Errata for Using and Administering Linux — 2nd Edition
  • Open Source Resources
    • What is Open Source?
    • What is Linux?
    • What is Open Source Software?
    • The Open Source Way
  • Write for us
    • Submission and Style guide
    • Advertising statement
  • Downloads
1

Behind the Badge: Community, Process, and Care in Open Source Exams

December 29, 2025December 21, 2025
2

Edit text with this Emacs-like editor

December 27, 2025December 16, 2025
3

Automate tasks with FreeDOS BAT files

December 26, 2025December 16, 2025
4

2 ways to listen to music on FreeDOS

December 25, 2025December 16, 2025
5

Old-school programming with BW BASIC

December 24, 2025December 16, 2025
6

How to add and remove packages on FreeDOS

December 23, 2025December 16, 2025
7

The FreeDOS editor makes it easy

December 22, 2025December 24, 2025
8

4 cool facts about FreeDOS for #DOScember

December 21, 2025December 16, 2025
9

When an Apparent DDOS Attack is a Good Thing

December 20, 2025
  • Home
  • Programming
  • Page 3

Category: Programming

Programming

Using bit fields and bit masks in C

Using bit fields and bit masks is a common method to combine data without using more complex structures.

Jim Hall
January 10, 2025January 10, 2025
Read More
FreeDOS Programming

Enjoy the holidays with this ASCII fireplace

Enjoy the holidays by writing a ‘fire’ program in ASCII text.

Jim Hall
December 24, 2024December 20, 2024
Read More
FreeDOS Programming

What I learned by teaching others

Sharing knowledge with others is often a great way to refresh and update your own expertise.

Jim Hall
December 20, 2024December 17, 2024
Read More
Both.org Programming

5 ways to learn about programming

Read these popular articles from the last year to get started on your programming journey.

Jim Hall
December 16, 2024December 1, 2024
Read More
Linux Programming Python

Remove Background from Photos for Holiday Card Creation with Python

You can use open-source tools to produce holiday cards this year. Suppose you have a great photo of your family or grandchildren, but it was...

Don Watkins
December 7, 2024December 4, 2024
Read More
FreeDOS Fun Programming

Print a spooky greeting in ASCII art

Generate colorful ASCII art from a C program using FreeDOS.

Jim Hall
October 31, 2024October 13, 2024
Read More
FreeDOS Linux Programming

Portable programming practices

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

Jim Hall
October 26, 2024October 19, 2024
Read More
FreeDOS Linux Programming

Writing portable C programs

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

Jim Hall
October 25, 2024October 19, 2024
Read More
FreeDOS Linux Programming

Programming across platforms

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

Jim Hall
October 15, 2024October 13, 2024
Read More
Code Fun Programming

Write a guessing game in ncurses

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

Jim Hall
September 18, 2024September 10, 2024
Read More
Linux Programming

Terminal size and ncurses

When programs like vi first came along, terminals had a predefined size: usually 80 columns and 24 lines (actually 25 lines, but the last line...

Jim Hall
September 16, 2024September 7, 2024
Read More
Fun Linux Programming

Random numbers from the Linux kernel

Let the kernel generate random numbers for you using ‘getrandom.’

Jim Hall
September 14, 2024September 5, 2024
Read More
Linux Programming

A gentle introduction to ncurses

You can create your own programs that use a text user interface to control the screen.

Jim Hall
September 11, 2024September 7, 2024
Read More
Fun Programming

Learn C by writing a number guessing game

The “Guess the number” game is a fun way to learn a new programming language.

Jim Hall
September 7, 2024September 5, 2024
Read More
Fun Programming

Guess the number in FORTRAN 77

Explore classic programming in FORTRAN 77 with this sample program.

Jim Hall
August 20, 2024August 13, 2024
Read More
History Programming

A look back: FORTRAN 77

Take a step back in time to a time when programs were punched on cards.

Jim Hall
August 10, 2024August 7, 2024
Read More

Posts pagination

Previous 1 2 3 4 5 Next

Random Quote

Investment in reliability will increase until it exceeds the probable cost of errors, or until someone insists on getting some useful work done.

— Gilb’s laws of unreliability

End of 10...

  • End of 10…

Links: Humor

  • Linux: A true story

Links: Interesting info

  • Replace Kubernetes with systemd

Links: Linux

  • Fedora
  • KDE for W10 Exiles
  • Linux Mint
  • Ubuntu

Links: Moving to Linux

  • 7 Reasons Fedora Might Be a Better Windows Replacement Than Linux Mint
  • 7 Reasons Why Windows Users Avoid Linux (Which Aren’t True Anymore)
  • Best Linux distros to try before Windows 10 support ends
  • How to switch your Windows 10 PC to Linux Mint – for free
  • I replaced my entire Microsoft Office subscription with free open-source apps
  • Isn’t It Time to Switch to Linux? 12 Reasons to Abandon Windows
  • KDE for W10 Exiles
  • Linux: A true story
  • Why Denmark is dumping Microsoft Office and Windows for LibreOffice and Linux
  • Why I Switched to Linux From Windows

Links: Open Source Software

  • GIMP
  • I replaced my entire Microsoft Office subscription with free open-source apps
  • LibreOffice

“systemd for SysAdmins” Now Available

May 13,2025

My latest book — a #1 New Release on Amazon — “systemd for Linux  SysAdmins” is now available from my publisher, Apress, and on Amazon.

Technically We Write — Our Partner Site

Our partner site, Technically We Write, has published a number of articles from several contributors to Both.org. Check them out.

Technically We Write is a community of technical writers, technical editors, copyeditors, web content writers, and all other roles in technical communication.

Subscribe to Both.org

To comment on articles, you must register.

Send your desired user ID, first and last name, and an email address for login (this must be the same email address used to register) to subscribe@both.org with “Subscribe” as the subject line.

You’ll receive a confirmation of your subscription with your initial password as soon as we are able to process it.

Administration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • About Us
  • End of 10 Events
    • Wake Forest, NC, — 2025-09-20
  • Linux
    • Why I use Linux
    • The real reason we use Linux
  • My Linux Books
    • systemd for Linux SysAdmins
    • Using and Administering Linux – Zero to SysAdmin: 2nd Edition
    • The Linux Philosophy for SysAdmins
    • Linux for Small Business Owners
    • Errata
      • Errata for The Linux Philosophy for SysAdmins
      • Errata for Using and Administering Linux — 1st Edition
      • Errata for Using and Administering Linux — 2nd Edition
  • Open Source Resources
    • What is Open Source?
    • What is Linux?
    • What is Open Source Software?
    • The Open Source Way
  • Write for us
    • Submission and Style guide
    • Advertising statement
  • Downloads

Advertising Statement

Advertising Statement

To the Top ↑ Up ↑