Blog

Page 567 of my articles, tutorials, and thoughts

Latest Articles

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

Cover Image for Delete empty lines using sed

Delete empty lines using sed

Published on September 2, 2023

๐Ÿ“ How to Delete Empty Lines Using Sed ๐Ÿงน Are you struggling to delete those pesky empty lines using sed? ๐Ÿ˜ฉ No worries, we've got you covered! In this blog post, we'll walk you through a simple and effective solution to this common problem. ๐Ÿ’ช So, let's

Cover Image for Can you run GUI applications in a Linux Docker container?

Can you run GUI applications in a Linux Docker container?

Published on September 2, 2023

# Can You Run GUI Applications in a Linux Docker Container? ๐Ÿ–ฅ๏ธ๐Ÿ˜ฎ ## Introduction Are you looking to run GUI applications in a Linux Docker container? Perhaps you want to add an extra layer of security by sandboxing applications like Firefox. This guide

Cover Image for Using openssl to get the certificate from a server
security

Using openssl to get the certificate from a server

Published on September 2, 2023

# How to Use OpenSSL to Get the Certificate from a Server ๐Ÿ“œ๐Ÿ’ป So, you want to fetch the certificate of a remote server and utilize it within your Java application? No problem! OpenSSL can come to your rescue. ๐Ÿฆธโ€โ™‚๏ธ **OpenSSL** is a powerful command-line

Blog | Matheus Mello