Blog
Page 511 of my articles, tutorials, and thoughts
Latest Articles
Delete empty lines using sed
๐ 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
Can you run GUI applications in a Linux Docker container?
# 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
Using openssl to get the certificate from a server
# 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
Linux how to copy but not overwrite?
# ๐ง Linux How to Copy But Not Overwrite? ๐๐ซโ Copy-pasting files in Linux seems like a straightforward task, but what if you want to copy a directory without overwriting any existing files, even if they are older than the copied files? ๐ค Fear not! In
How can I kill a process by name instead of PID, on Linux?
# How to Kill a Process by Name on Linux ๐ If you're a Linux user, you may have come across the frustrating situation where you try to start an application, only to be greeted with an error message saying "a process is already running." The solution usua
How to find the last field using "cut"
## How to Find the Last Field Using `cut` ๐ฅ Finding the last field using `cut` can be a bit tricky, especially when the number of fields varies in each line. But fear not, we're here to show you a simple solution without using `sed` or `awk`! So, let's
How to determine SSL cert expiration date from a PEM encoded certificate?
# How to Determine SSL Cert Expiration Date from a PEM Encoded Certificate ๐๐ปโ Have you ever found yourself wondering when your SSL certificate is going to expire? Maybe you have the actual certificate file and a Bash shell in Mac or Linux, but you're
Lost httpd.conf file located apache
# Lost httpd.conf file located apache: A Complete Guide So, you're running an Ubuntu Linux server on Amazon Web Services EC2, and you've encountered a little hiccup - you can't seem to find your Apache config file, the httpd.conf. Don't fret! We've got yo
How to add users to Docker container?
# How to Add Users to Docker Container ๐ณ Are you struggling to add users to your Docker container? You're not alone! Many developers face issues when trying to add users with specific permissions to their Docker containers. But fret not, because we've go
How can I assign a name for a screen?
# Assigning Names to Screens in GNU Screen: A Simple Guide ๐ฅ๏ธโจ If you're a fan of the command shell and a heavy user of the GNU Screen multiplexer tool, chances are you open multiple screens to manage your tasks. However, you may find yourself struggling