LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ufw-version

Print Uncomplicated Firewall version and copyright

TLDR

Show the installed ufw version
$ ufw version
copy
Same output via the long option
$ ufw --version
copy

SYNOPSIS

ufw versionufw --version

DESCRIPTION

ufw version (and the equivalent ufw --version) prints the Uncomplicated Firewall package version and a Canonical copyright line, then exits. Typical output looks like:

$ ufw 0.36.2
Copyright 2008-2023 Canonical Ltd.
copy
The version string is substituted at package build time. This is a ufw subcommand (and matching long option), not a separate binary. It is handled before the firewall frontend starts, so it does not load rules, touch netfilter, or require root.Use it to confirm which ufw is on `PATH` when diagnosing rule behavior across distributions or comparing against the man page for that release.

PARAMETERS

version, --version

Print the program name, version number, and copyright, then exit.

INSTALL

sudo dnf install ufw
copy
sudo pacman -S ufw
copy
sudo apk add ufw
copy
sudo zypper install ufw
copy

CAVEATS

Does not report whether the firewall is enabled, which backend (iptables vs nftables) is in use, or kernel/netfilter versions. For runtime state use ufw status. The tldr-pages example uses `sudo ufw version`; sudo is unnecessary.

HISTORY

Part of ufw (Uncomplicated Firewall), Ubuntu's frontend for iptables/nftables, first shipped in Ubuntu 8.04 (2008). The version action has been present since early releases.

SEE ALSO

ufw(8), ufw-status(8), iptables(8)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
280 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid