Blog

Page 522 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How does "cat << EOF" work in bash?
heredoc

How does "cat << EOF" work in bash?

Published on September 2, 2023

# How does "cat << EOF" work in bash? Have you ever come across the `cat << EOF` syntax in a bash script and wondered what it does? If so, you're not alone! This syntax, known as a "here document," is a powerful way to input multi-line strings or commands

Cover Image for What"s the best free C++ profiler for Windows?
windows

What"s the best free C++ profiler for Windows?

Published on September 2, 2023

**šŸŽ® Finding the Best Free C++ Profiler for Windows: Level Up Your Performance! šŸ“Š** Are you a game developer šŸ•¹ļø searching for a powerful and pocket-friendly C++ profiler to optimize your code? Look no further! šŸ˜Ž We're here to help you defeat those pesk

Cover Image for How can I get the current date and time in the terminal and set a custom command in the terminal for it?
command-lineterminal

How can I get the current date and time in the terminal and set a custom command in the terminal for it?

Published on September 2, 2023

# How to Get the Current Date and Time in the Terminal šŸ’»šŸ“…āŒš Are you tired of opening your phone or searching for the clock widget on your desktop every time you need to check the date and time? Look no further! In this guide, we'll show you how to easily

Cover Image for How to get full path of a file?
filepath

How to get full path of a file?

Published on September 2, 2023

šŸ“ **Title**: How to Easily Get the Full Path of a File in Just a Few Simple Steps! šŸ‘‹ Hey there, tech-savvy readers! šŸ‘©ā€šŸ’»šŸ‘Øā€šŸ’» Have you ever found yourself wondering, "Is there an easy way to print the full path of a file?" šŸ¤” Well, worry no more! In t

Cover Image for Exploring Docker container"s file system
filesystems

Exploring Docker container"s file system

Published on September 2, 2023

# Exploring Docker Container's File System: A Beginner's Guide 🐳 āš ļø **Note:** This guide is for beginners who are new to Docker and want to understand how to explore a container's file system. šŸ¤” Have you ever wondered what's happening inside a Docker c

Cover Image for How to permanently set $PATH on Linux/Unix
path

How to permanently set $PATH on Linux/Unix

Published on September 2, 2023

# How to Permanently Set $PATH on Linux/Unix šŸš€ Have you ever encountered the frustrating issue of having to reset your $PATH variable every time you start a new session in Linux or Unix? Fear not, for I have the solution you seek! In this guide, I will w

Cover Image for Shell command to tar directory excluding certain files/folders
shell

Shell command to tar directory excluding certain files/folders

Published on September 2, 2023

šŸ“ **Shell Command to Tar Directory, Excluding Certain Files/Folders** Are you looking for a simple shell command or script to exclude specific files or folders from being archived? You've come to the right place! In this blog post, we'll address this com

Cover Image for Recursively counting files in a Linux directory

Recursively counting files in a Linux directory

Published on September 2, 2023

šŸ“ Hey there fellow tech enthusiasts! šŸ’» Are you scratching your head šŸ¤” trying to figure out how to recursively count files in a Linux directory? Well, fret not, because I've got your back! šŸ¤ In this blog post, I'll guide you through some handy solutions

Cover Image for How can I exclude directories from grep -R?

How can I exclude directories from grep -R?

Published on September 2, 2023

šŸ“ **Title: Excluding Directories from `grep -R`: A Handy Guide!** šŸ‘‹ Hey there tech enthusiasts! Are you tired of being inundated with search results from directories you don't want to include during recursive searches? šŸš€ Well, today we have an exciting

Cover Image for What does set -e mean in a bash script?
shell

What does set -e mean in a bash script?

Published on September 2, 2023

# What does `set -e` mean in a bash script? If you've ever worked with bash scripts, you might have come across the line `set -e` at the beginning. But what does it actually do? šŸ¤” ## Understanding the Purpose In simple terms, `set -e` is used to ensure