vi – Error – “E45: ‘readonly’ option is set ( add ! to override)”

Background Trying to save a file in vi, but "No Go". Error Number Error Image Error Text E45: 'readonly' option is set (add ! to override) Troubleshooting Outline File Info ls File Info ls Syntax Sample Output Output - Image Output - Text Explanation From issuing ls, we can see that our file's owner is … Continue reading vi – Error – “E45: ‘readonly’ option is set ( add ! to override)”

GoLang – Availing on Linux

Background Let us avail the go runtime on our system.   Lineage OS Microsoft - MS Windows Link   Linux Though my primary OS is MS Windows, I play around a bit with Linux, as well. Options There are a couple of options for availing go on a Linux system. The options include:- rpm Repositories … Continue reading GoLang – Availing on Linux

Linux – CentOS – Set Timezone

Background Playing around with Linux, queried the system for the current time, and noticed it is a bit off.   OS OS - Linux - CentOS Our OS is CentOS/Version 8. Command hostnamectl We can issue hostnamectl, to get the OS Name and Version. Output     timedatectl Outline timedatectl timedatectl status timedatectl list-timezones timedatectl … Continue reading Linux – CentOS – Set Timezone

Linux – File System – Listing File Systems

Background What is the File System on our disks? Outline Commands df ( Disk Free ) lsblk ( List Information on the block devices ) lshw ( List Hardware ) file ( File Command ) mount ( List Mount Points ) blkid ( List Information on Available Block Devices ) System Configuration File /etc/fstab Commands … Continue reading Linux – File System – Listing File Systems

Linux – CentOS /v8 – Avail Python/v2

Background Let us get Python version 2 to be the default Python version on our machine. Outline List installed Python Versions If not installed, Install Python version 2 Review Installed Locations Set Python Version 2 as the default version of Python Confirm Current Version of Python List Installed Python Versions Outline alternatives compgen alternatives Outline … Continue reading Linux – CentOS /v8 – Avail Python/v2

Linux – OS – Bitness

Background Let us figure out the bitness of our Linux OS. Outline Commands lscpu Commands lscpu Syntax Sample Output Output - Image Output - Textual Explanation Architecture Meaning:- Processor ( Hardware ) Common Values x86_64 64-bit CPU CPU op-mode(s) Meaning:- Based on OS Installed, CPU Operating Mode ( Software ) Common Values 32-bit, 64-bit Supports both … Continue reading Linux – OS – Bitness

Install Powershell on Linux/CentOS

Background Back playing around with a Linux box and wanted to see if it is any easier for me to understand the steps for installing Powershell. Outline Configure Source Repositories Review available Microsoft Repository for your OS/Version ( https://packages.microsoft.com/config/rhel/ ) Redhat Repository - Local Review "Local" Redhat Repository Is Microsoft repository registered? If Microsoft Repository … Continue reading Install Powershell on Linux/CentOS

Linux:- id command

Background In Linux, the id command displays a user's group names.   Output Here is information offered Attribute Meaning Sample uid User ID uid=1002(daniel) gid Group ID gid=1002(daniel) groups Groups groups=1002(daniel),10(wheel) Syntax Sample Sample-01 Command Output Image Textual Explanation User Id Sample uid => 1002 daniel Group ID  Sample gid => 1002 daniel Groups Sample … Continue reading Linux:- id command

gcc/MinGW – Utilities – ldd and objdump

Background Let us cover a couple of utilities that are bundled with gcc/minGW toolset. Lineage NetCat – Visual Studio – Source Code Compilation Link Netcat on MS Windows – Sample Usage Link MinGW – Error – “undefined reference to `__imp_WSAStartup'” LinkLink Need When troubleshooting an application one sometimes wants to gain familiarity with the dependant … Continue reading gcc/MinGW – Utilities – ldd and objdump