windows 中 使用 start . 可以实现
macos 中 使用 open . 可以实现
linux 中 可以使用 nautilus . 可以实现
了解nautilus 详细的使用说明,可以 使用 man nautilus 来查看。
NAME
nautilus - a file manager for GNOME
SYNOPSIS
nautilus [options] URIs...
DESCRIPTION
nautilus is a file manager, designed for the GNOME 3 desktop.
OPTIONS
-c, --check
Perform a quick set of self-check tests.
--version
Show the version of the program.
-g, --geometry=GEOMETRY
Create the initial window with the given geometry. Deprecated - the geometry is saved and loaded using GSettings.
-w, --new-window
Always open a new window for browsing specified URIs.
-n, --no-default-window
Only create windows for explicitly specified URIs.
-q, --quit
Quit Nautilus.
-s, --select
Select specified URI in parent folder.
-h, --help
Show a summary of options.
Other standard GNOME options not listed here are also supported.
SEE ALSO
The documentation may be accessed by pressing F1 in the application or via the application menu.
For further information, visit the website https://wiki.gnome.org/Apps/Nautilus
BUGS
All bugs in the application may be reported at the GNOME Bugzilla at https://bugzilla.gnome.org/buglist.cgi?product=nautilus