Bitness:- File in Linux

Background One of the great technical leaps in IT Technology in the last 20 years or so, is the co-existence of 32 and 64-bit computing on the same machine. Linux If you are curious as to whether a binary file is 32 or 64-bit and you are on a Linux machine, please use the file … Continue reading Bitness:- File in Linux

Windows:- WSL – Accessing Network Shares

Background Let us go over how to access Microsoft Network Shares from within WSL ( Microsoft's Windows Subsystem for Linux ). Glossary What is /mnt? Control-Escape.Com I like the definition availed via Control-Escape.Com. And, so let us use that definition. Guide to Linux for Beginners - ADDING FILE SYSTEMS TO THE TREE Link To gain … Continue reading Windows:- WSL – Accessing Network Shares

OS Commands:- Find Files Processed In the Last N Days

Background I need to find files that I have worked on lately.   OS OS  Linux Find Command Samples Sample - Find Files modified In the Last 3 Days Outline Folder Folder is . . here means current folder Type Type is f Type is f as in file iname iname means case insensitive name … Continue reading OS Commands:- Find Files Processed In the Last N Days

Disk Used ( du ) :- utility & command

Background Let us use the du command. The du command stands for disk used. It is a commonly used command in the Linux world. OS OS / Linux Arguments Here are some of the arguments supported by the dh command. Argument Meaning Explanation -h , --human-readable Human Readable -h -s, --summarize Summarize -s --time Timestamp … Continue reading Disk Used ( du ) :- utility & command

OS Sort Command:- Sorting by column position

Background Let us sort by column position. Data Files Person.txt Image Metadata Column Position First Name 1 Last Name 2 Email Address 3 City 4 State 5 Postal Code 6 Display Text File Cat Command OS Platform - Win OS Not Supported OS Platform - Linux Parameters Parameter Description T Show hidden characters Syntax Sample … Continue reading OS Sort Command:- Sorting by column position

OS Sort Command:- Sorting by character position

Background When reading sample code and I see the following command I be like hold up, wait a minute. Data Files Person.txt Image Metadata Column Position Column - Start & End First Name 1 1, 20 Last Name 2 21, 40 Email Address 3 41, 70 City 4 71, 90 State 5 90, 100 Postal … Continue reading OS Sort Command:- Sorting by character position

Searching Text:- Case Sensitivity

Background As I looked through a generated file, I was a bit perplexed as to why some matches were missing. Code I went back and looked at the code I was using to generate the file, it looked OK. Yet, at the back of my mind, I am sorry that I did not follow up … Continue reading Searching Text:- Case Sensitivity

Search Text On The Terminal

Background For us who spend a lot of time on the command line in terminal node, we always have to sort through data returned through applications. The find and grep command comes in handy. Text File Let us use a simple text file. namelist.txt   Search Platform MS Windows findstr command Outline Display File Pipe … Continue reading Search Text On The Terminal

Linux:- Environment Variables – Basic

Background At a basic level, environment variables allow for system customization.   Set Environment Variables Export To set an environment variable, please use the export command Syntax Sample Read Environment Variables Export One can also use the same export command to read environment variables. Syntax Sample Scenario:- Read All Environment Variables Code Output Image Scenario:- … Continue reading Linux:- Environment Variables – Basic

CentOS:- “dnf -y config-manager –set-enabled PowerTools” – “Error: No matching repo to modify: PowerTools.”

Background Playing around with installing applications on our Linux box running CentOS. It is a recently rebuilt Linux box and it is running CentOS version 8. Ran into a little error in the middle of the consequent application installs. We will talk about the error in this post.   Error Error Image Error Text Scenario … Continue reading CentOS:- “dnf -y config-manager –set-enabled PowerTools” – “Error: No matching repo to modify: PowerTools.”