From nobody Fri Apr 12 17:01:10 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VGNBG4PZbz5Hk16; Fri, 12 Apr 2024 17:01:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VGNBG3yfLz40mb; Fri, 12 Apr 2024 17:01:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712941270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qj8mMBqnUVKQrAGKahYPFty+/+YBOUZrNPac3A5TL4Y=; b=Z9KNMuno9eQTwBVG8qkcEpjliqCz7ZDss9PAovnPKtvPg98bMP0UAS9giVs52EtLGYngLk zveZUSIQdZrg2nKFkYgBgtn121m27BzxRhSdsCuMBfW3zwKdANg1gBjWyt6q5+z/Tais3a hFU+hGqzRMFAssKR/onnSYzfaGumnfbrEAhSZ64mESRPBIutHigcznLVr9RvTRIR1JAv2Y QJ72X1jJ4U8x8oSs/OB+BCH+A7dxzOEFyGwlr44rH/E81UTMvLxLK0ZHTGhjP4UdF7FVM6 QOLf7MTgrF2vCdAWER+T3jQ8tCgGNZUHwqLcHjmN9w0BAGtOTSS7ca0o6rEYpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712941270; a=rsa-sha256; cv=none; b=b7Ni7P73X0WaesewnVtw/RODkAcAemSIOeAKEsm5YZ6NyqG1gLve3WNXPD3+gMkXW5AGiI lEGnsUIy/5V+Ae+FfQIAZ9owowoKStoyGWInIikfk3sNOqQmL1vMmT7N32przIaGKDRSAC rvc0R5U6LeNiGcFMNTrdeAMB+ZJ8Rj5EVNqv00ntOQi2+TAKH6/eccDRoZDuxW/7LVONw5 82ZLBsYPgof46AlEjaBn1hQotyXdRL5qABZd+jDtLOhoMxIt6wVU+El9CLharnxfcFNMyf NJqWrbq8Q/b8ENEClXemLKLJEJvlM8QE5NsmViC/ZomHJgmAVTXkFJh8eeCEpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712941270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qj8mMBqnUVKQrAGKahYPFty+/+YBOUZrNPac3A5TL4Y=; b=rGg5jZJi7LDUW7qPmfyshuYGj/98TV77lFUpt7bCKpz9ZrkrAA3lHgCoEQgPgm0mkYuhpU TzuGQ2BSGEDUxPTbUffX5hxC7Ne2tqhjZveHeVWb+5yEs72nmnJNJ09EcVyzPfrzcxZc+6 xQHd14hI2vphT8fXftjzdeE+MlGk3HLWV2oN7fVQGqysSCkJQYBlYxHK+CPX11clyvBjMq mA4mQkPhnTf/Rfcxa371TBiZ1yuHtXcUd/ahV4pQURbGI71CcQNsEqcr0EemZUw9L8DaJi BvcTx8/GDGNSRc/9HbWvgvy9R1Kpdb6FzZsRpN+efq3I/D597etO/OtgeOeOKA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VGNBG3Yv2zxYx; Fri, 12 Apr 2024 17:01:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43CH1Ate053140; Fri, 12 Apr 2024 17:01:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43CH1AEo053137; Fri, 12 Apr 2024 17:01:10 GMT (envelope-from git) Date: Fri, 12 Apr 2024 17:01:10 GMT Message-Id: <202404121701.43CH1AEo053137@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: cc0af6d5a6c2 - main - intro.1: 2024 edition List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc0af6d5a6c2b10b8655945abdd4ab110cb11998 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cc0af6d5a6c2b10b8655945abdd4ab110cb11998 commit cc0af6d5a6c2b10b8655945abdd4ab110cb11998 Author: Alexander Ziaee AuthorDate: 2024-04-12 16:57:54 +0000 Commit: Warner Losh CommitDate: 2024-04-12 16:58:36 +0000 intro.1: 2024 edition Modernize intro.1, attempting to preserve style and brevity, including a paragraph about installing more commands, a FILES section explaining where the commands are located and why, and adding section number to HISTORY for clarity. Advances: #248562 Reviewed by: imp, mhrone Pull Request: https://github.com/freebsd/freebsd-src/pull/1136 --- share/man/man1/intro.1 | 40 ++++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/share/man/man1/intro.1 b/share/man/man1/intro.1 index 00199e90140a..65e77ac606b7 100644 --- a/share/man/man1/intro.1 +++ b/share/man/man1/intro.1 @@ -1,3 +1,6 @@ +.\"- +.\" SPDX-License-Identifier: BSD-3-Clause +.\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -25,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd October 21, 2001 +.Dd April 12, 2024 .Dt INTRO 1 .Os .Sh NAME @@ -34,9 +37,9 @@ .Sh DESCRIPTION Section one of the manual contains most of the commands which comprise the -.Bx +.Fx user environment. -Some of the commands included in section one are +Some of the commands included with the system in section one are text editors, command shell interpreters, searching and sorting tools, file manipulation commands, @@ -46,6 +49,16 @@ compilers and compiler tools, formatted output tools, and line printer commands. .Pp +Tens of thousands of additional commands are available to be installed +with +.Xr pkg 8 , +or compiled with the +.Xr ports 7 +collection. +Some of which include web browsers, office suites, calendars, +conferencing utilities, integrated development environments, +media players, audio and video processing suites, etc. +.Pp All commands set a status value upon exit which may be tested to see if the command completed normally. Traditionally, the value 0 signifies successful @@ -53,10 +66,23 @@ completion of the command, while a value >0 indicates an error. Some commands attempt to describe the nature of the failure by using exit codes as defined in .Xr sysexits 3 , -while others simply set the status to an arbitrary value >0 (typically 1). +while others simply set the status to an arbitrary value >0 +.Pq typically 1 . +.Sh FILES +.Bl -tag -width "/usr/local/bin/tab" -compact +.It Pa /bin/ +Commands fundamental to single- and multi-user modes. +.It Pa /usr/bin/ +General commands included with the base system. +.It Pa /usr/local/bin/ +Locally installed commands from +.Xr pkg 8 or +.Xr ports 7 . +.El .Sh SEE ALSO .Xr apropos 1 , .Xr man 1 , +.Xr which 1 , .Xr intro 2 , .Xr intro 3 , .Xr sysexits 3 , @@ -64,14 +90,16 @@ while others simply set the status to an arbitrary value >0 (typically 1). .Xr intro 5 , .Xr intro 6 , .Xr intro 7 , +.Xr ports 7 , .Xr security 7 , .Xr intro 8 , +.Xr pkg 8 , .Xr intro 9 .Pp Tutorials in the .%T "UNIX User's Manual Supplementary Documents" . .Sh HISTORY The -.Nm -manual page appeared in +.Nm Ns Pq 1 +manual page first appeared in .At v6 .