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 one is troubleshooting an application one sometimes wants to gain familiarity with … Continue reading gcc/MinGW – Utilities – ldd and objdump