Technology
Selection of technology articles to assist you in various configurations on several platforms.
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)….
For old times sake – COBOL on Linux
To Install on Debian or Ubuntu just enter the following: sudo apt install open-cobol Create your program with .cbl suffix for example vars.cbl and compile with cobc -free -x -o vars vars.cbl Download the following example cbl file with this link IDENTIFICATION DIVISION. PROGRAM-ID. VARS. DATA DIVISION. WORKING-STORAGE SECTION. *> define a number with a…
TOP Linux process monitoring
top command displays Linux processes. It provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds. TOP hot keys t Displays summary information off and on m Displays memory information off and on…
Checking disk space on linux
df You can use df (display free disk space) to troubleshoot disk space issues. While running and maintaining your application on your machine, you might receive an error message signaling a lack of free space on the host. While disk space should be managed and optimized by a sysadmin, you can use df to figure out the existing space…
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…
installing and running assembler on debian
The program nasm or “netwide assembler” is the first step. If you don’t know if it’s installed Just enter whereis nasm on a command prompt. If a single line “nasm’ is returned you’ll need to install the program. That is one simple command on most distributions. On Debian it is sudo apt install nasm, which…
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…