trunk
Serve Go WebAssembly applications
TLDR
Start local/production server with hot reloading
Build for production at root or subdirectory
List all available tools in the repo and if they are enabled
Enable/disable a tool at a specific version
Print an action's execution history
SYNOPSIS
N/A - Not a standalone command.
DESCRIPTION
The term "trunk" is not a directly executable Linux command found in standard Linux distributions. Instead, it refers to a conceptual term used across various technical domains:
Version Control Systems (VCS): Primarily in systems like Apache Subversion (SVN), the 'trunk' represents the main line of development for a software project. It is the primary path where all major development occurs, and new features or bug fixes are typically integrated here, often after being developed on separate 'branches' and then merged back.
Networking: In network infrastructure, a 'trunk port' or 'trunk link' describes an Ethernet connection configured to carry traffic for multiple Virtual Local Area Networks (VLANs) over a single physical cable. This is typically achieved using the IEEE 802.1Q standard, allowing switches and devices to communicate across different VLANs.
Telephony/PBX Systems: In the context of Private Branch Exchange (PBX) systems, a 'trunk' refers to a logical or physical communication line that connects the PBX system to external networks, such as the Public Switched Telephone Network (PSTN) or other PBX systems, enabling calls to be routed in and out of the organization.
CAVEATS
Users attempting to find a 'trunk' command will not locate a directly executable utility in typical Linux environments. The term's meaning is highly dependent on the specific technical context (e.g., version control, networking, telephony). Interaction with these 'trunk' concepts is performed using other dedicated commands or configuration tools relevant to that domain, not a universal 'trunk' command.
USAGE IN VERSION CONTROL
In version control systems like SVN, the 'trunk' directory (or path) is where the main, most current version of the project's codebase resides. Developers perform routine operations like svn checkout to obtain a copy of the trunk, svn commit to save their changes back to it, and svn update to synchronize their local copy with the latest trunk changes. Branches are often created from the trunk for parallel development, and then merged back to integrate completed work.
USAGE IN NETWORKING
Configuring a network 'trunk' involves setting up a switch port or network interface to tag Ethernet frames with VLAN IDs, allowing it to transport traffic for multiple VLANs. This is crucial for connecting switches to each other, or connecting servers that host virtual machines belonging to different VLANs. This configuration is performed using device-specific commands on network hardware or through Linux networking utilities like the ip command (for managing VLAN interfaces) and configuration files (e.g., in /etc/network/interfaces or /etc/sysconfig/network-scripts) rather than a direct 'trunk' command.
HISTORY
As 'trunk' is a conceptual term rather than a specific Linux command, it does not possess a distinct development history like traditional command-line utilities. Its conceptual use has evolved within various technical fields over time, particularly gaining prominence in software development with the widespread adoption of version control systems and in networking with the standardization of VLAN technologies.