Blog
Page 510 of my articles, tutorials, and thoughts
Latest Articles
What is RSS and VSZ in Linux memory management
# Understanding RSS and VSZ in Linux Memory Management š§š» Have you ever wondered what RSS and VSZ are in Linux memory management? š¤ In a multithreaded environment, how do we effectively manage and track these two memory metrics? Let's dive in and demys
Adding a new entry to the PATH variable in ZSH
š Adding a new entry to the PATH variable in ZSH š Are you a ZSH terminal user trying to add a new entry to the PATH variable? š¤ Don't worry, you're not alone. Many users struggle with this common issue, but fret not! I'm here to guide you through the
How do you create a read-only user in PostgreSQL?
# How to Create a Read-Only User in PostgreSQL šš Have you ever wanted to create a PostgreSQL user that can only perform SELECT queries on a specific database? You're not alone! In this guide, we'll walk you through the process of creating a read-only u
Pseudo-terminal will not be allocated because stdin is not a terminal
š **Title: Troubleshooting the "Pseudo-terminal will not be allocated" Error in Shell Scripts** Are you trying to create directories on a remote server and use SCP to copy files, but facing the frustrating "Pseudo-terminal will not be allocated because s
How to unmount a busy device
# How to Unmount a Busy Device: Solving the Impossible š¢ Hey there tech enthusiasts! š Welcome back to our tech blog where we unravel complex problems and provide simple solutions. Today, we're tackling the seemingly impossible task of unmounting a busy
Peak memory usage of a linux/unix process
# **Understanding Peak Memory Usage of a Linux/Unix Process š”** Have you ever wondered how much memory your Linux/Unix process is using at its peak? š¤ Do you need a tool to track the peak RAM usage total? Look no further! š In this blog post, we will e
How to determine whether a given Linux is 32 bit or 64 bit?
# How to Determine Whether a Given Linux is 32-bit or 64-bit? So you've encountered a Linux system and you're wondering whether it's running on a 32-bit or 64-bit architecture. Don't worry, we've got you covered! In this guide, we'll walk you through the
How can I make grep print the lines below and above each matching line?
# How to Make `grep` Print Lines Above and Below Each Matching Line If you've ever used the `grep` command to search for specific patterns in your files, you may have come across the need to print not only the matching lines but also the lines above and b
Is there a way for non-root processes to bind to "privileged" ports on Linux?
## Can non-root processes bind to "privileged" ports on Linux? š¤ Having limitations on your development box can be frustrating, especially when you're the only user. The inability to bind non-root processes to "privileged" ports (ports less than 1024) on
How to append one file to another in Linux from the shell?
# **š§ Tech Tips: How to Merge Files in Linux from the Shell** So you have two files, file1 and file2, and you want to merge or append the contents of file2 to file1, while making sure the original contents of file1 are preserved. Fear not, fellow Linux u