Skip to main content
Sagar Sharma

Sagar Sharma

148 posts published

A software engineer who loves to tinker with hardware till it gets crashed. While reviving my crashed system, you can find me reading literature, manga, or watering my plants.

Introduction to Flatpak
Using Flatpak

Introduction to Flatpak

The universal packaging system from Fedora is popular among developers and desktop Linux users.

· Sagar Sharma

git amend commit
Using Git

Amend a Comment in Git

We all make mistakes. The important thing is to make amends. Git allows you that as well.

· Sagar Sharma

Check git commit history
Using Git

Check Git Commit History

Learn to quickly check the commit history in git.

· Sagar Sharma

Git show files in a commit
Using Git

Git Show Files in a Commit

Are you adding all the correct files? Check the files that are part of a commit in git with this trick.

· Sagar Sharma

Update Flatpak Packages
Using Flatpak

Updating Flatpak Packages

Got Flatpaks? How about updating them to newer versions?

· Sagar Sharma

Install Flatpak packages
Using Flatpak

Installing Flatpak Packages

Once you have Flatpak support enabled, it's time to see how to install Flatpak packages.

· Sagar Sharma

install flatpak
Using Flatpak

Installing Flatpak Packaging Support

Before you start using Flatpak packages, you need to install the Flatpak support on your system.

· Sagar Sharma

Git Move Commit to Another Branch
Using Git

Git Move Commit to Another Branch

Sometimes you commit to an incorrect branch and now you want to move the commit to the correct branch. Here's how to handle the situation.

· Sagar Sharma

Undo Git Add
Using Git

Undo Git Add and Remove Files from Staging

Accidentally add a file that was not supposed to be added? If you have not made the commit yet, you can undo the git add and remove the file from staging.

· Sagar Sharma

git push empty commit
Using Git

Push an Empty Commit in Git

Yes, you can totally push an empty commit in Git if you really want to. Here's how to do that.

· Sagar Sharma

dot git folder
Using Git

What is the .git folder?

See the .git folder in your project directory and wonder what it is about. Let me explain all about it.

· Sagar Sharma

lsattr command examples
File Properties Commands

lsattr Command Examples

The lsattr command lists the attributes of a file or directory in Linux.

· Sagar Sharma

wget command
Network Connection Commands

wget Command Examples

The wget command allows you to download files over the internet in the Linux command line.

· Sagar Sharma

rm Linux commands
Basic File Commands

rm Command Examples

The rm command allows you to delete both files and folders. Here's how to use it.

· Sagar Sharma

lsblk Command Examples
Disk Management

lsblk Command Examples

The lsblk command is helpful for getting information on drives and block devices on your Linux system.

· Sagar Sharma

Kill Command Examples in Linux
Process Commands

kill Command Examples

The kill command is used to eliminate a process in the Linux command line.

· Sagar Sharma

Linux system monitoring tools
Tools

11 System Resource Monitoring Tools for Linux Command Line

Keep a tab on the system resource utilization using one of these command line tools.

· Sagar Sharma

Using Nano editor
File Editing Commands

Nano Editor Basic Commands

Get a quick reference to using the Nano editor for editing files in the Linux terminal.

· Sagar Sharma

7 Awesome Zsh Plugins
Using Zsh

7 Awesome Zsh Plugins

Let me share some of my favorite Zsh plugins.

· Sagar Sharma

find mtime of file in Lin
Quick Tip

Find mtime of File in Linux

See when was the file last modified with mtime in Linux.

· Sagar Sharma

ip Command Examples
Host Information Commands

ip Command Examples

One of the most used networking commands that you must know.

· Sagar Sharma

logging in firewalld
Firewalld Basics

Enabling Logs with firewalld

Logs help you understand what's going on with your firewall like how many bad attempts it detected.

· Sagar Sharma

Check Firewalld status
Firewalld Basics

Checking Firewalld status

It is important to check the status of the firewall to see if it's running or disabled.

· Sagar Sharma

open firewall ports in firewalld
Firewalld Basics

Opening Ports in firewalld

Learn how to open a specific port number or open ports for a specific service in firewalld.

· Sagar Sharma

Listing firewalld Rules
Firewalld Basics

Listing firewalld Rules

Wondering what firewall rules are put in place by firewalld tool? Here's how to know that.

· Sagar Sharma

Enable, Disable and Restart firewalld
Firewalld Basics

Enable, Disable and Restart firewalld

Learn about managing the firewall by enabling, disabling and restarting firewalld.

· Sagar Sharma

Powerlevel10k in Zsh
Using Zsh

Install and Use Powerlevel10k in Zsh

10x your Zsh setup with Powerlevel10k

· Sagar Sharma

Set Environment Variables in zsh
Using Zsh

Setting Environment Variables in zsh

Learn to set environment variables in Zsh, be it temporary or permanent.

· Sagar Sharma

Customizing Zsh Prompt
Using Zsh

Customizing Zsh Prompt

Give your zsh a good-looking, useful prompt. Here's how.

· Sagar Sharma

Enabling Auto Suggestion in Zsh
Using Zsh

Enabling Auto Suggestion in Zsh

Get command completion suggestions based on your command history.

· Sagar Sharma