Blog

Page 568 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Linux how to copy but not overwrite?

Linux how to copy but not overwrite?

Published on September 2, 2023

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

Cover Image for How can I kill a process by name instead of PID, on Linux?
shell

How can I kill a process by name instead of PID, on Linux?

Published on September 2, 2023

# 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

Cover Image for How to find the last field using "cut"

How to find the last field using "cut"

Published on September 2, 2023

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

Cover Image for How to determine SSL cert expiration date from a PEM encoded certificate?

How to determine SSL cert expiration date from a PEM encoded certificate?

Published on September 2, 2023

# 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

Cover Image for Lost httpd.conf file located apache

Lost httpd.conf file located apache

Published on September 2, 2023

# 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

Cover Image for How to add users to Docker container?

How to add users to Docker container?

Published on September 2, 2023

# 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

Cover Image for How can I assign a name for a screen?
shell

How can I assign a name for a screen?

Published on September 2, 2023

# 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

Cover Image for Object comparison in JavaScript
comparisonjavascriptobject

Object comparison in JavaScript

Published on September 2, 2023

# Comparing Objects in JavaScript: A Comprehensive Guide šŸ¤šŸ” Do you find yourself struggling to compare objects in JavaScript? šŸ¤·ā€ā™‚ļø Are you tired of those unexpected results when comparing two objects with identical attribute values? 😫 Well, fret no mo

Cover Image for What does the exclamation mark do before the function?
functionjavascript

What does the exclamation mark do before the function?

Published on September 2, 2023

šŸ” What's the Deal with the Exclamation Mark Before the Function? ā‰ļø Hey there, tech-savvy readers! šŸ‘‹ Today, we're going to tackle a common question that many developers encounter when perusing through code snippets: what's the deal with the exclamation

Blog | Matheus Mello