Skip to main content

Posts

Featured

TechBytes on Linux

This is a growing list of Linux commands which might come handy for the of Linux users. 1. Found out i had to set the date like this:    # date -s 2007.04.08-22:46+0000 2. Mounting     sudo mount -t cifs // < pingable_host_or_ip > / < win_share_name > /build -o user= ,domain= ,uid=string,gid=string 3. To install linux packages from internet (ubuntu only)     apt-get install 4. To determine what ports the machine is currently listening on     netstat -an | grep -i listen | less 5. Find in files in Linux     find . | xargs grep 'string' -sl Find file names with a pattern & delete them find . -name "IMG_*(1).JPG" -delete 6. To become superuser/root     sudo -i 7. To find a running process using name ps -aef | grep "searchstring" 8. Alt + F2 opens run window in RHEL 9. To access windows share from linux smb:// /d$ 10. To know the last reboot date & time $ last reboot | head -1 ...
Recent posts

Issue while pasting from the Windows clipboard into a PuTTY vi or vim terminal

  Pasting from the Windows clipboard into a PuTTY  vi  or  vim  terminal can sometimes be problematic, particularly with newer  vim  versions that have mouse mode enabled by default.  This can lead to unintended visual mode activation or incorrect pasting. Here are the primary methods to paste from the clipboard into a PuTTY  vi / vim session: Shift + Right-Click:   Shift + Insert:   Middle Mouse Button (Wheel Click):   Disable  vim  Mouse Mode (if applicable):  vim  Paste Mode:  Note: Ensure  vi  or  vim  is in insert mode (by pressing  i ) before attempting to paste if you want the content to be inserted directly into the file.  Otherwise, pasting might be interpreted as  vim  commands. For larger pastes,  vim 's paste mode can be helpful.  Enter insert mode in  vim , then type  :set paste  and press  Enter .  Paste your conten...

What caused the AWS outage that broke the internet on Oct 21st 2025

AWS outage 2025 : More than 1,000 services were impacted by the outage, including popular platforms like WhatsApp , Snapchat and Reddit , which rely on AWS services, along with financial institutions like the British government’s tax services and entertainment services In India, the impact of the outage was most pronounced in the aviation sector, with hundreds of flights delayed and several cancelled as airline operators found their systems inoperational and had to switch to manual processes. At least ten banks and NBFCs had “minor disruptions”, which have either been resolved or are being resolved, the Reserve Bank of India said at the time. Here is a technical explanation for the AWS Outage due to a DNS failure . AWS's own internal control plane is built on top of DynamoDB . It's a hidden dependency. When AWS's internal services couldn't find the IP for DynamoDB, the entire management layer collapsed. Stage 1: DNS Fails. The internal DNS servers for dynamodb.us-eas...

How to show hidden folders in Mac OS in Finder

  To show hidden files and folders on a Mac,  open Finder and press the Command (⌘) + Shift + Period (.) keys simultaneously .  The hidden files will appear with a faded or semi-transparent look.  To hide them again, press the same keyboard shortcut.   Using the Keyboard Shortcut Open any Finder window.   Navigate to the folder where you want to view hidden files, such as your Macintosh HD folder.   Press and hold the Command, Shift, and Period keys all at the same time.   Hidden files and folders will appear.   To hide them again, repeat the same key combination.   Using Terminal (Alternative Method) Open Terminal by searching for it in Spotlight (magnifying glass icon).   Enter the following command and press Return:  defaults write com.apple.finder AppleShowAllFiles YES .   Hold down the Option key, right-click the Finder icon in the Dock, and select Relaunch to apply the changes.   To hide all files again, you can...

How to remove the bash history from a Linux Terminal

Removing bash history in the terminal can be done in several ways, depending on whether you want to clear the current session's history, remove specific entries, or clear the entire history file. 1. Clear the current session's history: To clear the history of commands in the currently running shell session, use: ಕೋಡ್ history -c This command clears the in-memory history for the current session but does not affect the ~/.bash_history file until the session exits (and even then, it will only write the current, now empty, history). 2. Remove specific entries from history: To remove a specific command from the history, first, identify its line number using the history command. Then, use: ಕೋಡ್ history -d <line_number> Replace <line_number> with the actual line number of the command you wish to remove. To make this change permanent in the ~/.bash_history file, you need to write the current history to the file afterwards: ಕೋಡ್ history -w 3. Clear the entire bash history...

Free Google courses for Generative AI

 Google just launched a free learning path for Generative AI. If you're in tech, business, or just curious, this is worth a look. 𝟏. 𝐈𝐧𝐭𝐫𝐨𝐝𝐮𝐜𝐭𝐢𝐨𝐧 𝐭𝐨 𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 👉 https://lnkd.in/g7eqXQ7H ↳ Explain how generative AI works ↳ Describe generative AI model types ↳ Describe generative AI applications 𝟐. 𝐈𝐧𝐭𝐫𝐨𝐝𝐮𝐜𝐭𝐢𝐨𝐧 𝐭𝐨 𝐋𝐋𝐌: 👉 https://lnkd.in/gijvaHyZ ↳ Define large language models (LLMs) ↳ Describe LLM use cases ↳ Explain prompt tuning ↳ Describe Google’s generative AI development tools 𝟑. 𝐈𝐧𝐭𝐫𝐨𝐝𝐮𝐜𝐭𝐢𝐨𝐧 𝐭𝐨 𝐑𝐞𝐬𝐩𝐨𝐧𝐬𝐢𝐛𝐥𝐞 𝐀𝐈: 👉 https://lnkd.in/gWSjT4Zq ↳ Identify the need for a responsible AI practice within an organization ↳ Recognize that decisions made at all stages of a project make an impact in Responsible AI ↳ Recognize that organizations can design an AI infrastructure to fit their own business needs and values ♻️ Repost this to help your network get started