Blog

Page 562 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Random string generation with upper case letters and digits
pythonrandomstring

Random string generation with upper case letters and digits

Published on September 2, 2023

# Generating Random Strings with Upper Case Letters and Digits: The Easy Way! šŸ˜ŽšŸ”¢šŸ”  Ever found yourself in need of creating a random string composed of uppercase letters and digits? Maybe you're building a password generator, or require a unique identifi

Cover Image for What does $@ mean in a shell script?
shell

What does $@ mean in a shell script?

Published on September 2, 2023

## What Does $@ Mean in a Shell Script? šŸ¤” If you've stumbled upon a shell script and wondered what the mysterious `$@` means, you're not alone! Shell scripts can be intimidating, especially when they're filled with unfamiliar symbols and jargon. But fear

Cover Image for How to perform grep operation on all files in a directory?
shell

How to perform grep operation on all files in a directory?

Published on September 2, 2023

šŸ“ **Title**: Mastering the Art of Grep: How to Perform Grep Operation on All Files in a Directory šŸ“ø **Introduction**: Have you ever found yourself in a situation where you needed to perform a grep operation on multiple files in a directory? Whether yo

Cover Image for Changing default shell in Linux
shell

Changing default shell in Linux

Published on September 2, 2023

# 🐧 Changing Default Shell in Linux: Mastering the Command Line! So you want to switch up your default shell in Linux, huh? That's cool. Kinda like picking a new outfit for your terminal experience. šŸ˜Ž But don't worry, it's as simple as hitting up the co

Cover Image for How to use `subprocess` command with pipes
pythonsubprocess

How to use `subprocess` command with pipes

Published on September 2, 2023

# šŸš€ Supercharge your Python scripts with `subprocess` command and pipes! Are you tired of running your Python scripts in isolation? Would you like to tap into the power of the command line and utilize powerful shell commands within your scripts? Look no

Cover Image for Are there any standard exit status codes in Linux?
error-handling

Are there any standard exit status codes in Linux?

Published on September 2, 2023

# Standard Exit Status Codes in Linux: A Complete Guide šŸ§šŸ’» If you've ever worked with Linux, you may have come across exit status codes. These codes indicate the outcome of a process and whether it completed successfully or encountered an error. In this

Cover Image for Error: Could not find or load main class
java

Error: Could not find or load main class

Published on September 2, 2023

šŸ” **Error: Could not find or load main class** Oh no! You're trying to compile and run your Java code, but you're facing this pesky error message: "Error: Could not find or load main class". Don't worry, we've got your back! šŸ¤“šŸ‘ We'll walk you through t

Cover Image for How do I output coloured text to a Linux terminal?
terminal

How do I output coloured text to a Linux terminal?

Published on September 2, 2023

# How to Jazz Up Your Linux Terminal with Coloured Text šŸ’„šŸŒˆ Have you ever looked at your plain old black and white Linux terminal and thought, "Hmm, this is lacking some pizzazz?" Well, worry no more! I'm here to show you how to make your terminal come a

Cover Image for Is there a way to make mv create the directory to be moved to if it doesn"t exist?
macos

Is there a way to make mv create the directory to be moved to if it doesn"t exist?

Published on September 2, 2023

## šŸ“ Creating Directories with mv: Easy Solutions šŸ’” Have you ever wanted to move a file to a specific directory but found yourself dealing with the hassle of manually creating the necessary directories? 😫 Fear not, because in this guide we will explore

Blog | Matheus Mello