Forrest logo
back to the plesk tool

plesk:domains:list:all

List all hosted domains.
$ plesk bin domain --list
try on your machine

This command is used to list all the domains that are currently present in the Plesk panel installed on a server.

Assuming that Plesk is installed in the default location of /usr/local/psa/bin, the command can be broken down as follows:

  • plesk: This is the command to interact with Plesk from the command line.
  • bin: This stands for "binary", which refers to the executable files that contain the code to run the Plesk commands.
  • domain: This is the command that specifies that we want to perform an action related to domains.
  • --list: This is an option that tells the domain command to list out the domains that are currently available.

When entered into the command line (usually via SSH or a direct console connection), running plesk bin domain --list will output a list of domains present in Plesk.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the plesk tool