Tom Bettenhausen

Technology guy . Building and maintaining websites, applications and Internet technologies.

COBOL Bubble sort on linux

Here’s a sample COBOL bubble sort program for linux. You can simply save the source (.cbl file) on your computer then compile and link the code to an executable with the following command. sudo cobc -free -x -o sort sort.cbl IDENTIFICATION DIVISION. PROGRAM-ID. SORT. DATA DIVISION. WORKING-STORAGE SECTION. 01 ARR OCCURS 5 TIMES PIC S9(2)….

Read More
Joshua Tree national park

Road trip pandemic style

My wife and I recently completed an epic almost 5 week long road trip in the western US. We originally planned an international trip for the month but.. Covid19 changed those plans. So we booked a road trip instead, originally planning for a week stay in Victoria British Columbia, a week stay in downtown Portland…

Read More
PowerShell

Install powershell on debian 10

very simple installation # Download the Microsoft repository GPG keys wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb # Register the Microsoft repository GPG keys sudo dpkg -i packages-microsoft-prod.deb # Update the list of products sudo apt update # Install PowerShell sudo apt install -y powershell # Start PowerShell pwsh Bash to Powershell command reference Bash PowerShell PowerShell Alias Note Cd…

Read More
apt vs apt get

linux (debian) apt vs apt-get

The apt command utility is a successor to the earlier apt-get. The Debian package management infrastructure has been a feature of Debian since early on. At the heart of Debian package management is dpkg [1], a low-level tool used for installing and removing Debian .deb packages. The bigger and more comprehensive Advanced Package Tool (APT) [2] includes dpkg on the…

Read More