LinuxCommandLibrary

ghost

Capture and restore disk partitions

TLDR

Install Ghost in the current directory

$ ghost install
copy

Start an instance of Ghost
$ ghost start
copy

Restart the Ghost instance
$ ghost restart
copy

Check the system for any potential hiccups while installing or updating Ghost
$ ghost doctor
copy

View the logs of a Ghost instance
$ ghost log [name]
copy

Run a Ghost instance directly (used by process managers and for debugging)
$ ghost run
copy

View running Ghost processes
$ ghost ls
copy

View or edit Ghost configuration
$ ghost config [key] [value]
copy

SYNOPSIS

ghost [options] [arguments]

PARAMETERS

-h, --help
    Display usage information (if available in implementation)

-v, --version
    Show version details (variant-dependent)

DESCRIPTION

The ghost command is not a standard utility in mainstream Linux distributions and lacks an official man page in core systems like Ubuntu, Fedora, or Arch Linux. It may refer to niche or third-party tools, such as:

• A custom script or alias in specific environments.
• Legacy imaging tool from Symantec Ghost (primarily DOS/Windows, with limited Linux support for disk cloning).
• Proxy/tunneling utilities like gost (GO Simple Tunnel), sometimes misspelled or aliased as ghost.
• Development tools or packages (e.g., Node.js Ghost blogging CLI wrappers).

No universal syntax or behavior exists. Users attempting which ghost or man ghost typically find nothing unless a package is installed (e.g., via apt install ghost might pull unrelated items). Verify with command -v ghost. For disk imaging, modern alternatives like dd or clonezilla are recommended. Always check package managers or GitHub for context-specific implementations.

CAVEATS

Not installed by default; behavior undefined without specific package. Risk of name conflicts with unrelated tools. Obsolete for most imaging tasks; use dd, partclone instead.

INSTALLATION CHECK

Run apt search ghost or yum search ghost to find packages. Source installs common for proxies.

ALTERNATIVES

For networking: socat(1), nginx. For imaging: fsarchiver(1).

HISTORY

Origins trace to Symantec Ghost (1995+), a commercial disk imaging tool ported to Linux in early 2000s but discontinued. Modern 'ghost' references often community forks or unrelated proxies (e.g., GOST project since 2018). Rarely maintained in repos.

SEE ALSO

host(1), gost(1), dd(1), clonezilla(8)

Copied to clipboard