Israel Hanukoglu, Ph.D.

Software : Linux Mint - Ubuntu questions

How to view and change computer name?

When Linux Mint is installed, the user specifies a name for the computer. This name appears in the terminal prompt. Example:
UserName@ComputerName:~$

To view the ComputerName enter the following command in the terminal:

hostnamectl

To change the ComputerName enter the following command:

hostnamectl set-hostname New-ComputerName

If this change requires root permission, add sudo before the command.

To see the change you have to restart the system.

How to toggle the Function (Fn) keys?

Pressing Fn + Esc toggles the function keys.

How to search for duplicate files?

The software manager of Linux Mint includes several programs to identify duplicate files. The one I use is Jdupes as it has a rich series of options and its scanning is very fast. This utility is run on a terminal with the following syntax:

jdupes [options] directory/files 

In the example below, jdupes will recursively (option -r) search all directories and provide a list of duplicate files including their sizes (option -S).

jdupes -r -S /home/user 

Linux symbols