×

Undo the Last Commit in Git - Step by Step Process ?

This article covers how to use the git reset command to undo the last commit in Git. 


To Undo the Last Commit:

The "reset" command is your best friend:

$ git reset --soft HEAD~1

Reset will rewind your current HEAD branch to the specified revision. Here, our goal is to return to the one before the current revision - effectively making our last commit undone.


To Undo Last Commit with revert:

In order to revert the last Git commit, use the "git revert" and specify the commit to be reverted which is "HEAD" for the last commit of your history.

$ git revert HEAD

The "git revert" command is slightly different from the "git reset" command because it will record a new commit with the changes introduced by reverting the last commit.

As a consequence, you will have to commit the changes again for the files to be reverted and for the commit to be undone.

Zoom Video Filters not Available in Linux ?

This article covers methods to fix Zoom Video Filters not Available in Linux.

Zoom Video Filters turned ON but no filters available

just close zoom and login when you reopen it. problem solved.

You need to sign up for a free account on Zoom to use video filters.


How to get video filters on Zoom?

Here are the steps to add video filters on Zoom:

1. Click on your profile picture which can be found in the top-right corner of the screen.

2. Click on the 'Settings' option from the dropdown menu.

3. From the Settings menu, click on the 'Video' tab which is the second option.

4. Here, you need to look for an option labelled 'Touch up my appearance'. You need to enable this feature by checking the box besides the option.


How to resolve Zoom video filters not showing ?

Several users on social media have been reporting that they are unable to view the Zoom filters on their computer. 

If you are one of the users facing this issue, you should note that you may not be able to see the filter if you are accessing the service using a web browser. 

You will need to install the latest version of Zoom desktop client on your system and sign in to view the filters.

Reset MySQL Root Password on Red Hat Enterprise Linux 8 - Step by Step Process ?

This article covers how to reset or change your MySQL root password on Red Hat Enterprise Linux 8.

MySQL is an open source relational database management system (RDBMS) with a client-server model for creating and managing databases based on a relational model.


To Reset the MySQL root password:

You must run the commands in the following steps as the root user. 

Therefore, you can either log in directly as the root user (which is not recommended for security reasons), or use the su or sudo commands to run the commands as the root user.

To reset the root password for MySQL, follow these steps:

1. Log in to your account using SSH.

2. Stop the MySQL server using the appropriate command for your Linux distribution:

For CentOS and Fedora, type:

$ service mysqld stop

For Debian and Ubuntu, type:

$ service mysql stop

3. Restart the MySQL server with the —skip-grant-tables option. To do this, type the following command:

$ mysqld_safe --skip-grant-tables &

4. Log into MySQL using the following command:

$ mysql

5. At the mysql> prompt, reset the password. To do this, type the following command, replacing new-password with the new root password:

UPDATE mysql.user SET Password=PASSWORD('new-password') WHERE User='root';

6. At the mysql> prompt, type the following commands:

FLUSH PRIVILEGES;
exit;

7. Stop the MySQL server using the following command.

You will be prompted to enter the new MySQL root password before the MySQL server shuts down:

$ mysqladmin -u root -p shutdown

8. Start the MySQL server normally. To do this, type the appropriate command for your Linux distribution:

For CentOS and Fedora, type:

$ service mysqld start

For Debian and Ubuntu, type:

$ service mysql start

Install FileZilla on Ubuntu 20.04 LTS - Step by Step Process ?

This article covers how to install FileZilla on Ubuntu 20.04 LTS system. Also we mentioned the steps to remove FileZilla in case you need to so.

FileZilla is a ftp client for both windows & linux operating system. It is a powerful client for plain FTP, FTP over SSL/TLS (FTPS) and the SSH File Transfer Protocol (SFTP). 


To Install FileZilla from command line on Ubuntu / Debian:

Use the following commands.

$sudo apt-get update
$sudo apt-get install filezilla

First command synchronizes the configured repositories.

This command is used to ensure that always the latest version of the software is installed.

Install Netdata Monitoring Tool on Ubuntu 20.04 - Step by Step Process ?

This article covers how to install and configure Netdata on Ubuntu 20.04 LTS and different metrics visualized in it. Netdata provides an excellent solution for monitoring your single node in real-time. You can configure alarms and notifications which can be triggered when a certain event or threshold is exceeded.


To install Netdata on Ubuntu:

1. You can install netdata on Ubuntu by running the following commands.

$ sudo apt update 
$ sudo apt install netdata 

Press 'y' if confirmation prompted by the installer.

2. Edit netdata configuration file in your favorite text editor.

$ sudo vim /etc/netdata/netdata.conf 

3. After modifying its configuration file, you can Save your file and restart netdata service:

$ sudo systemctl restart netdata 

Install VMware Workstation Player on Ubuntu 20.04 - Step by Step Process ?

This article covers how to install VMware Workstation on your instance of Ubuntu 20.04. With a virtual machine application like VMware, you can run another operating system inside your current operating system.


To Install VMware in Ubuntu:

1. Install required build packages

Open a terminal (Ctrl+Alt+T) and use the command below to install required build packages and Linux Kernel headers:

$ sudo apt install build-essential

2. Download VMware Workstation Player

Next step is to download the VMware Workstation Player from their website.

https://www.vmware.com/products/workstation-player.html

3. Install VMware Player

4. Use the command below to make the file executable:

$ chmod +x ~/Downloads/VMware-Player*

5. And then run the installation file:

$ sudo ~/Downloads/VMware-Player*

This will open an installation window.


To Uninstall VMware Player from Ubuntu:

If, for some reasons, you want to uninstall VMware Player, use the following command:

$ sudo /usr/bin/vmware-installer -u vmware-player

Press "Enter" and VMware Player will be removed from your system.