© 2023 Hashnode
#bash
Introduction When dealing with a GitHub repository using commands, you will frequently need to identify yourself with your username and password. Instead, you can use an SSH key to authenticate yourse…
Control operators allow you to specify the conditions under which different commands should be executed, which can make your scripts more flexible and adaptable to different scenarios. They allow you …
Introduction The grep command is one of the most commonly used tools in Linux for searching and filtering text data. With grep, you can search for specific patterns of text in files, and even output t…
It sounds trivial task - you want to “find a specific string in a file content of a specific file type starting from the current folder“ and yes it sounds easy right? However, 99% of the developers use their IDE find in path because they si…
Bash: The Key to Streamlining Your Workflow on a Computer Bash is a type of software that allows you to interact with your computer using text commands. Think of it like a more advanced version of the…
To use the Intel-based terminal on an Apple Silicon Mac, we need Rosetta, to install using the command given below to install Rosetta on your Mac: Install Rosetta softwareupdate --install-rosetta Now…
Introduction The find command is a powerful tool in Linux that allows you to search for files and directories in a specified location. With find you can search for files based on their name, type, siz…
Saving environment variables in a Python virtual environment can be a great way to keep your project's dependencies and settings organized and separate from other tasks on your machine. I use Django t…
Introduction The sed command, short for "stream editor", is a powerful tool in Linux that allows you to perform fundamental text transformations on an input stream, such as a file or input from a pipe…
The bash printf command is a tool used for creating formatted output. Here are some examples of some of the most useful printf format specifiers: %s - used to print a string. For example: name="John"…