Linux Resources

Install VidCutter on Linux Mint 21 "Vanessa" - Step by step guide

This article covers different ways of installing the latest version of the VidCutter video editing and movie creation on the Linux Mint system. In fact, VidCutter is a modern, simple to use, constantly evolving and hella fast MEDIA CUTTER + JOINER w/ frame-accurate SmartCut technology + Qt5, libmpv, FFmpeg and MediaInfo powering the backend. 

How to Update VidCutter on Linux Mint ?

Depending on the method used, the following commands can be used to update.

1. APT Update Method

$ sudo apt upgrade && sudo apt upgrade

2. Flatpak Update Method

$ flatpak update

How to Uninstall VidCutter from Linux Mint ?

1. To remove if installed via the APT Method, simply run the below command:

$ sudo apt autoremove vidcutter

Also, it is advised to remove the PPA.

$ sudo rm /etc/apt/sources.list.d/ozmartian.list

2. To remove if installed via Flatpak, run the below command:

$ flatpak uninstall --delete-data com.ozmartians.VidCutter

Next, run the following command for any leftover clean-up.

$ flatpak remove --unused

How to Fix Broken LaunchPAD GPG Import on Linux Mint ?

Users that have installed Linux Mint for the first time or have not imported a GPG key before using the command line terminal will often have issues importing GPG keys from LaunchPAD PPAs due to the directories not being created. This is an easy fix. Use the following command that will, in turn, generate the directories:

$ sudo gpg --list-keys

Install TeXworks on Ubuntu 22.10 (Kinetic Kudu) - Step by step process

This article covers how to easily install TeXworks on Ubuntu 22.10 (Kinetic Kudu). In fact, TeXworks comes with pdfTeX, pdfLaTex, LuaTex, LuaLaTex, BibTex MakeIndex and XeTeX typesetting engines support. To learn more about TeXworks, simply visit the official website https://www.tug.org/texworks/

DU Command in Linux - More about it ?

This article covers the usage of the DU command in Linux. In fact, the du command makes it convenient for Linux users to stay aware of their disk consumption and make an upgrade if required.

How to sort du -h command output by size ?

The sort command provides -h parameter allows to compare human-readable numbers (e.g., 10K 15M 1G etc). This helps up to compare the results of `du -h` and short them.

It takes the below form:

$ du -h * | sort -h

This will display the results in the ascending order by size. 

You can also reverse this using -r to show results in descending order with the below command:

$ du -h * | sort -rh

What is the du -sh * command ?

The du -sh * command  will display only a total for each argument as well as print sizes in human readable format (e.g., 1K 234M 2G).

The command takes the below form:

$ du -sh

What is df command ?

The df command displays the amount of disk space available on the filesystem with each file name's argument.

The df command can be run by any user. Like many Linux commands, df uses the following structure:

$ df [OPTION]... [FILE]...

The df command primarily checks disk usage on a mounted filesystem. If you don't include a file name, the output shows the space available on all currently mounted filesystems. 

What is the differences between the df and du command in Linux ?

While du reports files and directories  disk usage, df reports how much disk space your filesystem is using.

How to use the du Command in GB / MB / TB format ?

The du command is used to estimate file space usage. To print sizes in human readable format such as 5K, 400M, or 3G, type the following commands:

du -h
du -h /tmp
du -h /home/user

How to use du (Disk Usage) Commands to Find Disk Usage of Files and Directories in Linux ?

The du command displays the files and directory sizes in a recursive manner.

  • To find out the disk usage summary of a /home/user directory tree and each of its subdirectories. Run the command as: # du  /home/folderName
  • You can use the "-h" option with the "du" command to print results in "Human Readable Format". This means you can see sizes in Bytes, Kilobytes, Megabytes, Gigabytes, etc: # du -h /home/folderName
  • You can get the summary of a grand total disk usage size of a directory using the option "-s": # du -sh /home/folderName
  • You can use the "-a" flag with the "du" command displays the disk usage of all the files and directories: # du -a /home/folderName
  • You can use the "-a" flag along with "-h" displays disk usage of all files and folders in a human-readable format: # du -ah /home/folderName
  • You can find out the disk usage of a directory tree with its subtree in Kilobyte blocks using the "-k" (displays size in 1024 bytes units): # du -k /home/folderName
  • You can get the summary of disk usage of directory tree along with its subtrees in Megabytes (MB) only using the "-mh" option : # du -mh /home/folderName
  • You can use the "-c" flag to get a grand total usage disk space at the last line of the output: # du -ch /home/folderName

Create a Network Bridge on CentOS 8 - Step by step guide ?

This article covers how to Create Network Bridges on Centos OS. In fact, the nmcli command-line tool can create a persistent bridge configuration without editing any files.

What is CHOWN Command in Linux ?

This article covers the basic usage of the CHOWN command in Linux.In fact, you can now change the ownership of a file in system at the user level as well as at the group level. Also, with the chmod command command , you can change file access permissions such as read, write, and access.

Check Ports in Use on Ubuntu 22.04 (Jammy Jellyfish)

This article covers the methods of finding out the ports that are in use in your Ubuntu Linux machine. In fact, if you are intending to close any unused port, you will easily be able to do that after knowing that it is still in the listening state.

How to check the listening ports and applications on Linux ?

1. Open a terminal application i.e. shell prompt. Run any one of the following command on Linux to see open ports:

$ sudo lsof -i -P -n | grep LISTEN
$ sudo netstat -tulpn | grep LISTEN
$ sudo ss -tulpn | grep LISTEN
$ sudo lsof -i:22 ## see a specific port such as 22 ##
$ sudo nmap -sTU -O IP-address-Here

2. For the latest version of Linux use the ss command. For example:

$ ss -tulw

Search by typing a one letter Word Term Here