/go/fm: fm from the Command Line

/go/fm supports the web-based File Manager. It does three jobs: Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Deploy the File Manager files for one domain
/go/fm example.com

# Deploy them for every domain
/go/fm all

Arguments

Argument Required Default Notes
<domain> No — The account’s primary domain, or all to deploy for every account.
login No — Opens a session for the domain. Only login and Login count.

The command has no --option flags.

Examples

# Deploy for one domain
/go/fm example.com

# Redeploy for every domain, for example after updating GoAdmio
/go/fm all

# Open a session (normally done by the File Manager itself)
/go/fm example.com login

# Close expired sessions
/go/fm

# Check which domains have an open session
sqlite3 /var/lib/sqlite/site.db "SELECT Domain, FMStamp FROM Site WHERE FMStamp != 0"

Output

Outcome What you get
Logout sweep Logout: <domain> for each session that was closed. Exit code 1.
Login Nothing. Exit code 1.
Deploy Nothing. Exit code 0.
Domain not found, or no www folder Nothing, and nothing is changed.

Logging

The command appends one line for each call to /var/log/go/fm.log. The same file also receives the session events, in a different format:

2026-11-20 10:00:00 example.com Login
2026-11-20 12:05:00 example.com Logout

The Login line is written even if the domain doesn’t exist or has no www folder, so it doesn’t prove that a session was opened.

See the full reference at /go/fm and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *