C programming provides several ways to swap two variables, meaning we exchange their values with each other. Which helps you better to work with the variables in a programming language. This article will show you three methods to swap variables: using a temporary variable, without using a temporary variable, and using pointers. Along with each method, we’ll also walk through a step-by-step dry run of the code to make it easy to understand. Method 1: Using a Temporary Variable This is the simplest way to swap two variables. We use a third variable, often called “temp,” to hold one value…
Author: Rahul
Microsoft Edge is cross-platform browser developed by Microsoft in year 2015. Initially it was build on their own propriety browser engine and Chakra JavaScript engine. This browser protects from malicious websites and downloading files better than any other browsers. This article will help you to install Microsoft Edge browser on Ubuntu system using graphical user interface as well as command line interface. Step 1: Download Edge Browser Navigate to the Microsoft Edge browser official Download page. Click the “Download Edge” button showing on screen (User interface is frequently updated, so if you don’t see button search for the .deb file)…
Mission Center is an graphical application used for monitoring system resources. It provide an awesome design for better user experience. This application is written on Rust programming language. To install this on your Linux system using Flatpak file provide on the official site. Download the above file and install on your Linux system. Mission Center’s Features Monitor CPU usage, either overall or by individual threads. View system details like process count, thread count, handle count, uptime, current and base clock speed, and cache sizes. Track how much RAM and Swap memory your system is using. Get a clear breakdown of…
The docker init command is a feature that is provided in Docker Desktop, available on Windows and macOS. this helps users easily set up a project by generating a Dockerfile and other necessary files automatically. However, this command is not part of the core Docker Engine used in server environments or Linux systems. So in your standard Docker (outside of Docker Desktop), you still need to manually create Dockerfiles and configurations. Docker Engine focuses on managing containers using core commands like docker run and docker build. So, if you’re working on a server or in a non-Desktop environment, docker init…
In this tutorial, we’ll walk through how to display a stream of text data from a Bash script onto a web page. This is useful for monitoring logs or real-time data directly in the browser. We will use a combination of a Bash script to generate the text data stream and netcat (also known as nc) to serve the data over HTTP. Steps to Generate Text Stream using Bash Create the Bash script to generate the text data stream. Use netcat to serve the text over HTTP. Example 1. Create a Bash Script to Generate the Text Data Stream Let’s…
VirtualBox 7.1 stable version is available to download on Windows, Linux, macOS and Solaris systems. Virtualbox team has recently announce the release of its latest version 7.1 on Sep 09, 2024. The team has done lots of work on modernize the look and feel. This version also provides you option to choose between basic vs advanced level, where the basic level comes with lesser UI options. VirtualBox 7.1 now integrates the latest version of Qt 6.5, which significantly enhances both the accessibility features and the overall performance of the graphical user interface (GUI). This update aims to provide a smoother,…
If you’re left-handed, using a regular mouse setup can be uncomfortable. Luckily, Ubuntu allows you to switch your mouse to left-handed mode easily. This means you can swap the functions of the left and right mouse buttons to make it more comfortable for left-handers. In this beginner-friendly guide, I’ll show you how to enable left-handed mouse mode in Ubuntu with just a few simple steps. Step 1: Open the Settings Click on the “Activities” button in the top-left corner of your screen or press the Super key (the key with the Windows logo or Ubuntu icon). Type Settings in the…
In this guide, we will walk you through the process of installing and configuring Apache, MySQL, and PHP-FPM on Ubuntu 24.04. This guide is written in simple English and designed for beginners. We will also cover how to secure your Apache server to ensure your system is safe. Step 1: Update Your System Before we begin, it’s always a good practice to update your system to ensure you have the latest software versions and security patches. Open your terminal. Run the following commands to update your package list: sudo apt update sudo apt upgrade Step 2: Install Apache Apache is…
Git is a popular tool for software development versioning. It tracks code changes in application and help developers to work together. One important part of Git is the remote repository. This is where team members can share and update code. Sometimes, you need to change the address (URL) of the remote repository, and this guide will show you how. Quick Instructions Use the following command to change remote URL of local git repository. git remote set-url origin https://github.com/new-user/new-repo.git Detailed Instructions Step 1: Check Your Current Remote Repository Before making changes, you should check the current remote repository and its URL.…
LibreOffice is a free and useful office program that works like Microsoft Word, Excel, and PowerPoint. If you are using Ubuntu, a popular Linux operating system, you can easily install LibreOffice to create and edit documents, spreadsheets, and presentations. This tutorial will help you with step-by-step instructions to install LibreOffice on Ubuntu. A PPA (Personal Package Archive) is available for Libreoffice, which often has newer versions than Ubuntu’s default software. This tutorial will use the same PPA for installing application and remove them if needed. Follow these simple instructions, and you’ll have LibreOffice ready to use in no time. Prerequisites…