Blog

Page 510 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for What is RSS and VSZ in Linux memory management

What is RSS and VSZ in Linux memory management

Published on September 2, 2023

# 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

Cover Image for Adding a new entry to the PATH variable in ZSH

Adding a new entry to the PATH variable in ZSH

Published on September 2, 2023

šŸ“ 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

Cover Image for How do you create a read-only user in PostgreSQL?

How do you create a read-only user in PostgreSQL?

Published on September 2, 2023

# 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

Cover Image for Pseudo-terminal will not be allocated because stdin is not a terminal
shell

Pseudo-terminal will not be allocated because stdin is not a terminal

Published on September 2, 2023

šŸ“ **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

Cover Image for How to unmount a busy device

How to unmount a busy device

Published on September 2, 2023

# 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

Cover Image for Peak memory usage of a linux/unix process
command-linememory-management

Peak memory usage of a linux/unix process

Published on September 2, 2023

# **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

Cover Image for How to determine whether a given Linux is 32 bit or 64 bit?
shell

How to determine whether a given Linux is 32 bit or 64 bit?

Published on September 2, 2023

# 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

Cover Image for How can I make grep print the lines below and above each matching line?

How can I make grep print the lines below and above each matching line?

Published on September 2, 2023

# 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

Cover Image for Is there a way for non-root processes to bind to "privileged" ports on Linux?

Is there a way for non-root processes to bind to "privileged" ports on Linux?

Published on September 2, 2023

## 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

Cover Image for How to append one file to another in Linux from the shell?
appendfileshell

How to append one file to another in Linux from the shell?

Published on September 2, 2023

# **🐧 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