Using the basename Command in Bash Scripts When working with Bash scripts, you often need to extract specific parts of file paths, such as filenames or file extensions. This is where the basename command comes in handy. It allows you to strip the directory path and extract only the filename or the file extension, making […]
Read MoreIntroduction NVM (Node Version Manager) is a popular tool for managing multiple versions of Node.js on a single machine. It allows developers to install, switch, and manage different versions of Node.js seamlessly, making it especially useful for those working on multiple projects that require different Node.js versions. This guide will walk you through the steps […]
Read MoreIntroduction When using VMware to run virtual machines (VMs), one of the common tasks is sharing files between the host operating system (OS) and the guest OS running inside the virtual machine. VMware allows you to create a shared folder that acts as a bridge between the host and the guest, making it easier to […]
Read MoreWhen building APIs with Laravel, ensuring secure authentication is crucial, especially when dealing with user data. JSON Web Tokens (JWT) offer a robust method for handling authentication in stateless applications, allowing secure transmission of user information between parties. This guide will walk you through the process of building a secure Laravel API using JWT authentication. […]
Read MoreInstallation and Usage of Powerlevel10k in Zsh The terminal is a powerful tool, and customizing it can greatly enhance your productivity. One of the most popular ways to do this is by using Zsh (Z Shell) combined with the Powerlevel10k theme. Powerlevel10k offers a beautiful and highly customizable prompt that can display useful information, such […]
Read MoreA .tar.gz file is a compressed archive that combines two types of files: a .tar file (Tape Archive) and a .gz (gzip) compressed file. It is commonly used for packaging multiple files into a single archive and compressing them to save space. Extracting .tar.gz files is a common task in Linux, and this guide will […]
Read MoreIntroduction The screen command is a powerful terminal multiplexer for Linux and Unix-like systems. It allows you to manage multiple shell sessions from a single terminal window, keep sessions running even after logging out, and reconnect to those sessions later. This is particularly useful for remote sessions over SSH, as it ensures that long-running processes […]
Read MoreLILO (Linux Loader) is a boot loader for Linux and other Unix-like operating systems. It was one of the first boot loaders used for Linux, primarily during the 1990s and early 2000s, before being largely replaced by more modern alternatives like GRUB (GRand Unified Bootloader). LILO’s main function is to load the Linux kernel into […]
Read MorePing Command Not Found?” How to Install Ping in Ubuntu If you’ve ever tried to run the ping command in Ubuntu and encountered the error message: ping: command not found, it can be frustrating, especially when you need to test network connectivity or troubleshoot network issues. But don’t worry! This guide will show you why […]
Read MoreVi and Vim (Vi Improved) are powerful text editors that come pre-installed on many Unix-based systems, including Ubuntu. Vim is an enhanced version of Vi, offering additional features such as syntax highlighting, better navigation, and more advanced functionality. If you’re working with Ubuntu and need to use Vi or Vim, this guide will help you […]
Read More