Difference between revisions of "/bin/"

From GhostBSD Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Welcome}}
 
{{Welcome}}
{{Navbar System}}
 
 
{{Navbar System Administation Utilities}}
 
{{Navbar System Administation Utilities}}
 
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"  
 
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"  
Line 7: Line 6:
 
! scope="col" style="width: 350px;"|'''Description'''
 
! scope="col" style="width: 350px;"|'''Description'''
 
|-
 
|-
|/bin/[||The [https://www.freebsd.org/cgi/man.cgi?query=test&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&format=html test] utility evaluates the expression and, if it evaluates to true,    returns a zero (true) exit status; otherwise it returns 1 (false). If  there is no expression, test also returns 1 (false).
+
|[||The [https://www.freebsd.org/cgi/man.cgi?query=test&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&format=html test] utility evaluates the expression and, if it evaluates to true,    returns a zero (true) exit status; otherwise it returns 1 (false). If  there is no expression, test also returns 1 (false).
 
|-
 
|-
|/bin/cat||The [https://www.freebsd.org/cgi/man.cgi?query=cat&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html cat] utility reads files sequentially, writing them to the standard output.  The file operands are processed in command-line order.  If file is a single dash (`-') or absent, cat reads from the standard input.  If file is a UNIX domain socket, cat connects to it and then reads it until EOF.  This complements the UNIX domain binding capability available in [https://www.freebsd.org/cgi/man.cgi?query=inetd&sektion=8&apropos=0&manpath=FreeBSD+7.2-RELEASE inetd(8)].
+
|cat||The [https://www.freebsd.org/cgi/man.cgi?query=cat&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html cat] utility reads files sequentially, writing them to the standard output.  The file operands are processed in command-line order.  If file is a single dash (`-') or absent, cat reads from the standard input.  If file is a UNIX domain socket, cat connects to it and then reads it until EOF.  This complements the UNIX domain binding capability available in [https://www.freebsd.org/cgi/man.cgi?query=inetd&sektion=8&apropos=0&manpath=FreeBSD+7.2-RELEASE inetd(8)].
 
|-
 
|-
|/bin/chflags|| The [https://www.freebsd.org/cgi/man.cgi?query=chflags&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html chflags] utility modifies the file flags of the listed files as specified by the flags operand.
+
|chflags|| The [https://www.freebsd.org/cgi/man.cgi?query=chflags&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html chflags] utility modifies the file flags of the listed files as specified by the flags operand.
 
|-
 
|-
|/bin/chio||The [https://www.freebsd.org/cgi/man.cgi?query=chio&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html chio] utility is used to control the operation of medium changers, such as those found in tape and optical disk jukeboxes.
+
|chio||The [https://www.freebsd.org/cgi/man.cgi?query=chio&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html chio] utility is used to control the operation of medium changers, such as those found in tape and optical disk jukeboxes.
 
|-
 
|-
|/bin/chmod||The [https://www.freebsd.org/cgi/man.cgi?query=chmod&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html chmod] utility modifies the file mode bits of the listed files as specified by the ''mode'' operand.
+
|chmod||The [https://www.freebsd.org/cgi/man.cgi?query=chmod&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html chmod] utility modifies the file mode bits of the listed files as specified by the ''mode'' operand.
 
|-
 
|-
|/bin/cp||In the first synopsis form, the [https://www.freebsd.org/cgi/man.cgi?query=cp&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html cp] utility copies the contents of the source_file to the target_file.  In the second synopsis form, the contents of each named source_file is copied to the destination target_directory. The names of the files themselves are not changed.  If cp detects an attempt to copy a file to itself, the copy will fail.
+
|cp||In the first synopsis form, the [https://www.freebsd.org/cgi/man.cgi?query=cp&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html cp] utility copies the contents of the source_file to the target_file.  In the second synopsis form, the contents of each named source_file is copied to the destination target_directory. The names of the files themselves are not changed.  If cp detects an attempt to copy a file to itself, the copy will fail.
 
|-
 
|-
|/bin/csh||[https://www.freebsd.org/cgi/man.cgi?query=csh&sektion=1&apropos=0&manpath=FreeBSD+7.2-RELEASE C shell]
+
|csh||[https://www.freebsd.org/cgi/man.cgi?query=csh&sektion=1&apropos=0&manpath=FreeBSD+7.2-RELEASE C shell]
 
|-
 
|-
|/bin/date||[https://www.freebsd.org/cgi/man.cgi?query=date&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html display or set date and time]
+
|date||[https://www.freebsd.org/cgi/man.cgi?query=date&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html display or set date and time]
 
|-
 
|-
|/bin/dd||The [https://www.freebsd.org/cgi/man.cgi?query=dd&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html dd] utility copies the standard input to the standard output.  Input data is read and written in 512-byte blocks.  If input reads are short, input from multiple reads are aggregated to form the output block. When finished, dd displays the number of complete and partial input and output blocks and truncated input records to the standard error output.
+
|dd||The [https://www.freebsd.org/cgi/man.cgi?query=dd&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html dd] utility copies the standard input to the standard output.  Input data is read and written in 512-byte blocks.  If input reads are short, input from multiple reads are aggregated to form the output block. When finished, dd displays the number of complete and partial input and output blocks and truncated input records to the standard error output.
  
 
|-
 
|-
|/bin/df||The [https://www.freebsd.org/cgi/man.cgi?query=df&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html df] utility displays statistics about the amount of free disk space on the specified file system or on the file system of which file is a part. Values are displayed in 512-byte per block counts.  
+
|df||The [https://www.freebsd.org/cgi/man.cgi?query=df&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html df] utility displays statistics about the amount of free disk space on the specified file system or on the file system of which file is a part. Values are displayed in 512-byte per block counts.  
 
|-
 
|-
|/bin/domainname||The [https://www.freebsd.org/cgi/man.cgi?query=domainname&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html domainname] utility prints the name of the current YP/NIS domain.  The      super-user can set the domain name by supplying an argument; this is usually done in the network initialization script /etc/rc.network, normally run at boot time.
+
|domainname||The [https://www.freebsd.org/cgi/man.cgi?query=domainname&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html domainname] utility prints the name of the current YP/NIS domain.  The      super-user can set the domain name by supplying an argument; this is usually done in the network initialization script /etc/rc.network, normally run at boot time.
  
 
|-
 
|-
|/bin/echo||  The [https://www.freebsd.org/cgi/man.cgi?query=echo&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html echo] utility writes any specified operands, separated by single blank (` ') characters and followed by a newline (`\n') character, to the standard output.
+
|echo||  The [https://www.freebsd.org/cgi/man.cgi?query=echo&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html echo] utility writes any specified operands, separated by single blank (` ') characters and followed by a newline (`\n') character, to the standard output.
 
|-
 
|-
|/bin/ed||The [https://www.freebsd.org/cgi/man.cgi?query=ed&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html ed] utility is a line-oriented text editor.
+
|ed||The [https://www.freebsd.org/cgi/man.cgi?query=ed&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html ed] utility is a line-oriented text editor.
 
|-
 
|-
|/bin/expr||The [https://www.freebsd.org/cgi/man.cgi?query=expr&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html expr] utility evaluates expression and writes the result on standard  output
+
|expr||The [https://www.freebsd.org/cgi/man.cgi?query=expr&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&arch=default&format=html expr] utility evaluates expression and writes the result on standard  output
 
|-
 
|-
|/bin/freebsd-version||The freebsd-version command shows you the version of FreeBSD you are running.  
+
|freebsd-version||The freebsd-version command shows you the version of FreeBSD you are running.  
 
|-
 
|-
|/bin/getfacl||The [https://www.freebsd.org/cgi/man.cgi?query=getfacl&sektion=1 getfacl] utility writes discretionary access control information associated with the specified file(s) to standard output.
+
|getfacl||The [https://www.freebsd.org/cgi/man.cgi?query=getfacl&sektion=1 getfacl] utility writes discretionary access control information associated with the specified file(s) to standard output.
 
|-
 
|-
|/bin/hostname||The [https://www.freebsd.org/cgi/man.cgi?query=hostname&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html hostname] utility prints the name of the current host. The super-user      can set the hostname by supplying an argument; this is usually done in      the initialization ''script /etc/rc.d/hostname'', normally run at boot time. This script uses the hostname variable in ''/etc/rc.conf''.
+
|hostname||The [https://www.freebsd.org/cgi/man.cgi?query=hostname&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html hostname] utility prints the name of the current host. The super-user      can set the hostname by supplying an argument; this is usually done in      the initialization ''script /etc/rc.d/hostname'', normally run at boot time. This script uses the hostname variable in ''/etc/rc.conf''.
 
|-
 
|-
|/bin/kenv||The [https://www.freebsd.org/cgi/man.cgi?query=kenv&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html kenv] utility will dump the kernel environment if invoked without arguments.  If the '''-h''' option is specified, it will limit the report to kernel probe hints.  If an optional variable name is specified, kenv will only report that value.  If the '''-N''' option is specified, kenv will only  display variable names and not their values.  If the '''-u''' option is specified, kenv will delete the given environment variable.  If the environment variable is followed by an optional value, kenv will set the environment variable to this value.
+
|[[kenv]]||The [https://www.freebsd.org/cgi/man.cgi?query=kenv&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html kenv] utility will dump the kernel environment if invoked without arguments.  If the '''-h''' option is specified, it will limit the report to kernel probe hints.  If an optional variable name is specified, kenv will only report that value.  If the '''-N''' option is specified, kenv will only  display variable names and not their values.  If the '''-u''' option is specified, kenv will delete the given environment variable.  If the environment variable is followed by an optional value, kenv will set the environment variable to this value.
 
|-
 
|-
|/bin/kill||The [https://www.freebsd.org/cgi/man.cgi?query=kill&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html kill] utility sends a signal to the processes specified by the pid operands. Only the super-user may send signals to other users' processes.
+
|kill||The [https://www.freebsd.org/cgi/man.cgi?query=kill&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html kill] utility sends a signal to the processes specified by the pid operands. Only the super-user may send signals to other users' processes.
  
 
|-
 
|-
|/bin/link||[https://www.freebsd.org/cgi/man.cgi?query=link&sektion=2&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports link], linkat make a hard file link
+
|link||[https://www.freebsd.org/cgi/man.cgi?query=link&sektion=2&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports link], linkat make a hard file link
 
|-
 
|-
|/bin/ln||[https://www.freebsd.org/cgi/man.cgi?query=ln&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ln], link -- link files
+
|ln||[https://www.freebsd.org/cgi/man.cgi?query=ln&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ln], link -- link files
 
|-
 
|-
|/bin/ls||[https://www.freebsd.org/cgi/man.cgi?query=ls&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ls] list directory contents. For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information.  For  each operand that names a file of type directory, ls displays the names
+
|ls||[https://www.freebsd.org/cgi/man.cgi?query=ls&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ls] list directory contents. For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information.  For  each operand that names a file of type directory, ls displays the names
 
of files contained within that directory, as well as any requested, associated information.
 
of files contained within that directory, as well as any requested, associated information.
 
|-
 
|-
|/bin/mkdir||[https://www.freebsd.org/cgi/man.cgi?query=mkdir&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html mkdir]: make directories;  The mkdir utility creates the directories named as operands, in the order specified, using mode "rwxrwxrwx" (0777) as modified by the current [https://www.freebsd.org/cgi/man.cgi?query=umask&sektion=2&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports umask(2)].
+
|mkdir||[https://www.freebsd.org/cgi/man.cgi?query=mkdir&apropos=0&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html mkdir]: make directories;  The mkdir utility creates the directories named as operands, in the order specified, using mode "rwxrwxrwx" (0777) as modified by the current [https://www.freebsd.org/cgi/man.cgi?query=umask&sektion=2&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports umask(2)].
 
|-
 
|-
|/bin/mv||In its first form, the [https://www.freebsd.org/cgi/man.cgi?query=mv&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html mv] utility renames the file named by the source  operand to the destination path named by the target operand.  This form
+
|mv||In its first form, the [https://www.freebsd.org/cgi/man.cgi?query=mv&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html mv] utility renames the file named by the source  operand to the destination path named by the target operand.  This form
 
is assumed when the last operand does not name an already existing directory.
 
is assumed when the last operand does not name an already existing directory.
 
|-
 
|-
|/bin/pax||The [https://www.freebsd.org/cgi/man.cgi?query=pax&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pax] utility will read, write, and list the members of an archive file, and will copy directory hierarchies. These operations are independent of the specific archive format, and support a wide variety of different archive formats.  A list of supported archive formats can be found under the description of the '''-x''' option.
+
|pax||The [https://www.freebsd.org/cgi/man.cgi?query=pax&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pax] utility will read, write, and list the members of an archive file, and will copy directory hierarchies. These operations are independent of the specific archive format, and support a wide variety of different archive formats.  A list of supported archive formats can be found under the description of the '''-x''' option.
 
|-
 
|-
|/bin/pgrep||The [https://www.freebsd.org/cgi/man.cgi?query=pgrep&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pgrep] command searches the process table on the running system and      prints the process IDs of all processes that match the criteria given on      the command line.
+
|pgrep||The [https://www.freebsd.org/cgi/man.cgi?query=pgrep&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pgrep] command searches the process table on the running system and      prints the process IDs of all processes that match the criteria given on      the command line.
 
|-
 
|-
|/bin/pkill||The [https://www.freebsd.org/cgi/man.cgi?query=pgrep&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pkill] command searches the process table on the running system and      signals all processes that match the criteria given on the command line.
+
|pkill||The [https://www.freebsd.org/cgi/man.cgi?query=pgrep&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pkill] command searches the process table on the running system and      signals all processes that match the criteria given on the command line.
  
 
|-
 
|-
|/bin/ps||process status; The [ttps://www.freebsd.org/cgi/man.cgi?query=ps&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ps] utility displays a header line, followed by lines containing in    formation about all of your processes that have controlling terminals.      If the -x options is specified, ps will also display processes that do
+
|ps||process status; The [ttps://www.freebsd.org/cgi/man.cgi?query=ps&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ps] utility displays a header line, followed by lines containing in    formation about all of your processes that have controlling terminals.      If the -x options is specified, ps will also display processes that do
 
not have controlling terminals.
 
not have controlling terminals.
 
|-
 
|-
|/bin/pwait||The [ttps://www.freebsd.org/cgi/man.cgi?query=pwait&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pwait] utility will wait until each of the given processes has terminated.
+
|pwait||The [https://www.freebsd.org/cgi/man.cgi?query=pwait&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pwait] utility will wait until each of the given processes has terminated.
 
|-
 
|-
|/bin/pwd||The [https://www.freebsd.org/cgi/man.cgi?query=pwd&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pwd] utility writes the absolute pathname of the current working directory to the standard output.
+
|pwd||The [https://www.freebsd.org/cgi/man.cgi?query=pwd&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pwd] utility writes the absolute pathname of the current working directory to the standard output.
 
|-
 
|-
|/bin/rc-status||TrueOS has been using OpenRC successfully for many years in base and ports.
+
|[[rc-status]]||TrueOS has been using OpenRC successfully for many years in base and ports.
 
The goal is to integrate OpenRC into the FreeBSD RC system, allowing either
 
The goal is to integrate OpenRC into the FreeBSD RC system, allowing either
 
RC system or OpenRC to be chosen at boot, and OpenRC ports RC scripts for the
 
RC system or OpenRC to be chosen at boot, and OpenRC ports RC scripts for the
 
entire ports tree. As for now the plan is to get this into the base, and
 
entire ports tree. As for now the plan is to get this into the base, and
bring these to ports in the second step. [https://reviews.freebsd.org/D18578 see: Revision Contents] [https://docs.huihoo.com/puppet/references/3.0.1/type.html OpenRC] initskripts uses rc-update, rc-status and rc-service to manage services.  
+
bring these to ports in the second step. [https://reviews.freebsd.org/D18578 see: Revision Contents] [https://docs.huihoo.com/puppet/references/3.0.1/type.html OpenRC] initskripts uses [[rc-update]], [[rc-status]] and [[rc-service]] to manage services.  
Required binaries: ''/bin/rc-status, /sbin/rc-update, /sbin/rc-service''.  
+
Required binaries: '''/bin/[[rc-status]], /sbin/[[rc-update]], /sbin/[[rc-service]]'''.  
 
|-
 
|-
|/bin/realpath||The [https://www.freebsd.org/cgi/man.cgi?query=realpath&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html realpath] utility uses the [https://www.freebsd.org/cgi/man.cgi?query=realpath&sektion=3&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports realpath(3)] function to resolve all symbolic links, extra `/' characters and references to /./ and /../ in path. If path is absent, the current working directory (`.') is assumed.
+
|realpath||The [https://www.freebsd.org/cgi/man.cgi?query=realpath&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html realpath] utility uses the [https://www.freebsd.org/cgi/man.cgi?query=realpath&sektion=3&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports realpath(3)] function to resolve all symbolic links, extra `/' characters and references to /./ and /../ in path. If path is absent, the current working directory (`.') is assumed.
  
 
|-
 
|-
|/bin/red||The [https://www.freebsd.org/cgi/man.cgi?query=red&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ed] utility is a line-oriented text editor. It is used to create,  display, modify and otherwise manipulate text files.  When invoked as red, the editor runs in "restricted" mode, in which the only difference is that the editor restricts the use of filenames which start with `!' (interpreted as shell commands by ed) or contain a `/'.  
+
|red||The [https://www.freebsd.org/cgi/man.cgi?query=red&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ed] utility is a line-oriented text editor. It is used to create,  display, modify and otherwise manipulate text files.  When invoked as red, the editor runs in "restricted" mode, in which the only difference is that the editor restricts the use of filenames which start with `!' (interpreted as shell commands by ed) or contain a `/'.  
 
|-
 
|-
|/bin/rm|| The [https://www.freebsd.org/cgi/man.cgi?query=rm&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html rm] utility attempts to remove the non-directory type files specified on the command line.  If the permissions of the file do not permit writing, and the standard input device is a terminal, the user is prompted (on the standard error output) for confirmation.
+
|rm|| The [https://www.freebsd.org/cgi/man.cgi?query=rm&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html rm] utility attempts to remove the non-directory type files specified on the command line.  If the permissions of the file do not permit writing, and the standard input device is a terminal, the user is prompted (on the standard error output) for confirmation.
 
|-
 
|-
|/bin/rmail||[https://www.freebsd.org/cgi/man.cgi?query=rmail&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html Postfix to Sendmail compatibility interface]
+
|rmail||[https://www.freebsd.org/cgi/man.cgi?query=rmail&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html Postfix to Sendmail compatibility interface]
 
|-
 
|-
|/bin/rmdir||[https://www.freebsd.org/cgi/man.cgi?query=rmdir&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html remove directories]
+
|rmdir||[https://www.freebsd.org/cgi/man.cgi?query=rmdir&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html remove directories]
 
|-
 
|-
|/bin/setfacl||The [ttps://www.freebsd.org/cgi/man.cgi?query=setfacl&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html setfacl] utility sets discretionary access control information on the  specified file(s). If no files are specified, or the list consists of    the only `-', the file names are taken from the standard input.
+
|setfacl||The [https://www.freebsd.org/cgi/man.cgi?query=setfacl&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html setfacl] utility sets discretionary access control information on the  specified file(s). If no files are specified, or the list consists of    the only `-', the file names are taken from the standard input.
 
|-
 
|-
|/bin/sh||[https://www.freebsd.org/cgi/man.cgi?query=sh&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html command interpreter (shell)]
+
|sh||[https://www.freebsd.org/cgi/man.cgi?query=sh&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html command interpreter (shell)]
 
|-
 
|-
|/bin/sleep||[https://www.freebsd.org/cgi/man.cgi?query=sleep&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html suspend execution for an interval of time]
+
|sleep||[https://www.freebsd.org/cgi/man.cgi?query=sleep&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html suspend execution for an interval of time]
 
|-
 
|-
|/bin/stty||[https://www.freebsd.org/cgi/man.cgi?query=stty&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html set the options for a terminal device interface]
+
|stty||[https://www.freebsd.org/cgi/man.cgi?query=stty&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html set the options for a terminal device interface]
 
|-
 
|-
|/bin/sync||The [https://www.freebsd.org/cgi/man.cgi?query=sync&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html sync] utility can be called to ensure that all disk writes have been completed before the processor is halted in a way not suitably done by    [https://www.freebsd.org/cgi/man.cgi?query=reboot&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports reboot(8)] or [https://www.freebsd.org/cgi/man.cgi?query=halt&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports halt(8)].  Generally, it is preferable to use [https://www.freebsd.org/cgi/man.cgi?query=reboot&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports reboot(8)] or [https://www.freebsd.org/cgi/man.cgi?query=halt&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports halt(8)] to shut down the system, as they may perform additional actions such as resynchronizing the hardware clock and flushing internal caches      before performing a final sync.
+
|sync||The [https://www.freebsd.org/cgi/man.cgi?query=sync&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html sync] utility can be called to ensure that all disk writes have been completed before the processor is halted in a way not suitably done by    [https://www.freebsd.org/cgi/man.cgi?query=reboot&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports reboot(8)] or [https://www.freebsd.org/cgi/man.cgi?query=halt&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports halt(8)].  Generally, it is preferable to use [https://www.freebsd.org/cgi/man.cgi?query=reboot&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports reboot(8)] or [https://www.freebsd.org/cgi/man.cgi?query=halt&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports halt(8)] to shut down the system, as they may perform additional actions such as resynchronizing the hardware clock and flushing internal caches      before performing a final sync.
 
|-
 
|-
|/bin/tcsh||[https://www.freebsd.org/cgi/man.cgi?query=tcsh&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html C shell] with file name completion and command line editing
+
|tcsh||[https://www.freebsd.org/cgi/man.cgi?query=tcsh&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html C shell] with file name completion and command line editing
 
|-
 
|-
|/bin/test||The [https://www.freebsd.org/cgi/man.cgi?query=test&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html test] utility evaluates the expression and, if it evaluates to true,      returns a zero (true) exit status; otherwise it returns 1 (false). If      there is no expression, test also returns 1 (false). See also /bin/[ above.
+
|test||The [https://www.freebsd.org/cgi/man.cgi?query=test&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html test] utility evaluates the expression and, if it evaluates to true,      returns a zero (true) exit status; otherwise it returns 1 (false). If      there is no expression, test also returns 1 (false). See also /bin/[ above.
 
|-
 
|-
|/bin/unlink||[https://www.freebsd.org/cgi/man.cgi?query=unlink&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html unlink]: remove directory entries
+
|unlink||[https://www.freebsd.org/cgi/man.cgi?query=unlink&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html unlink]: remove directory entries
 
|-
 
|-
|/bin/uuidgen||The [https://www.freebsd.org/cgi/man.cgi?query=uuidgen&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html uuidgen] utility by default generates a single DCE version 1 universally unique identifier (UUID), also known as a globally unique identi    fier (GUID).  The UUID is written to stdout by default.
+
|uuidgen||The [https://www.freebsd.org/cgi/man.cgi?query=uuidgen&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html uuidgen] utility by default generates a single DCE version 1 universally unique identifier (UUID), also known as a globally unique identi    fier (GUID).  The UUID is written to stdout by default.
 
|-
 
|-
 
!colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=Directory Structure]]'''Directory Structure'''
 
!colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=Directory Structure]]'''Directory Structure'''

Latest revision as of 11:32, 8 June 2020

Welcome to Icon Disti GhostBSD.png /bin/.
System Administration Utilities
/bin/ Tools and applications /sbin/ System Administration Utilities
/usr/bin/ Tools and applications /usr/sbin/ System tools
/usr/local/bin/ Tools and applications /usr/local/sbin/ System tools
Back to the Icon Disti GhostBSD.pngSystem
Utility Description
[ The test utility evaluates the expression and, if it evaluates to true, returns a zero (true) exit status; otherwise it returns 1 (false). If there is no expression, test also returns 1 (false).
cat The cat utility reads files sequentially, writing them to the standard output. The file operands are processed in command-line order. If file is a single dash (`-') or absent, cat reads from the standard input. If file is a UNIX domain socket, cat connects to it and then reads it until EOF. This complements the UNIX domain binding capability available in inetd(8).
chflags The chflags utility modifies the file flags of the listed files as specified by the flags operand.
chio The chio utility is used to control the operation of medium changers, such as those found in tape and optical disk jukeboxes.
chmod The chmod utility modifies the file mode bits of the listed files as specified by the mode operand.
cp In the first synopsis form, the cp utility copies the contents of the source_file to the target_file. In the second synopsis form, the contents of each named source_file is copied to the destination target_directory. The names of the files themselves are not changed. If cp detects an attempt to copy a file to itself, the copy will fail.
csh C shell
date display or set date and time
dd The dd utility copies the standard input to the standard output. Input data is read and written in 512-byte blocks. If input reads are short, input from multiple reads are aggregated to form the output block. When finished, dd displays the number of complete and partial input and output blocks and truncated input records to the standard error output.
df The df utility displays statistics about the amount of free disk space on the specified file system or on the file system of which file is a part. Values are displayed in 512-byte per block counts.
domainname The domainname utility prints the name of the current YP/NIS domain. The super-user can set the domain name by supplying an argument; this is usually done in the network initialization script /etc/rc.network, normally run at boot time.
echo The echo utility writes any specified operands, separated by single blank (` ') characters and followed by a newline (`\n') character, to the standard output.
ed The ed utility is a line-oriented text editor.
expr The expr utility evaluates expression and writes the result on standard output
freebsd-version The freebsd-version command shows you the version of FreeBSD you are running.
getfacl The getfacl utility writes discretionary access control information associated with the specified file(s) to standard output.
hostname The hostname utility prints the name of the current host. The super-user can set the hostname by supplying an argument; this is usually done in the initialization script /etc/rc.d/hostname, normally run at boot time. This script uses the hostname variable in /etc/rc.conf.
kenv The kenv utility will dump the kernel environment if invoked without arguments. If the -h option is specified, it will limit the report to kernel probe hints. If an optional variable name is specified, kenv will only report that value. If the -N option is specified, kenv will only display variable names and not their values. If the -u option is specified, kenv will delete the given environment variable. If the environment variable is followed by an optional value, kenv will set the environment variable to this value.
kill The kill utility sends a signal to the processes specified by the pid operands. Only the super-user may send signals to other users' processes.
link link, linkat make a hard file link
ln ln, link -- link files
ls ls list directory contents. For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information. For each operand that names a file of type directory, ls displays the names

of files contained within that directory, as well as any requested, associated information.

mkdir mkdir: make directories; The mkdir utility creates the directories named as operands, in the order specified, using mode "rwxrwxrwx" (0777) as modified by the current umask(2).
mv In its first form, the mv utility renames the file named by the source operand to the destination path named by the target operand. This form

is assumed when the last operand does not name an already existing directory.

pax The pax utility will read, write, and list the members of an archive file, and will copy directory hierarchies. These operations are independent of the specific archive format, and support a wide variety of different archive formats. A list of supported archive formats can be found under the description of the -x option.
pgrep The pgrep command searches the process table on the running system and prints the process IDs of all processes that match the criteria given on the command line.
pkill The pkill command searches the process table on the running system and signals all processes that match the criteria given on the command line.
ps process status; The [ttps://www.freebsd.org/cgi/man.cgi?query=ps&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ps] utility displays a header line, followed by lines containing in formation about all of your processes that have controlling terminals. If the -x options is specified, ps will also display processes that do

not have controlling terminals.

pwait The pwait utility will wait until each of the given processes has terminated.
pwd The pwd utility writes the absolute pathname of the current working directory to the standard output.
rc-status TrueOS has been using OpenRC successfully for many years in base and ports.

The goal is to integrate OpenRC into the FreeBSD RC system, allowing either RC system or OpenRC to be chosen at boot, and OpenRC ports RC scripts for the entire ports tree. As for now the plan is to get this into the base, and bring these to ports in the second step. see: Revision Contents OpenRC initskripts uses rc-update, rc-status and rc-service to manage services. Required binaries: /bin/rc-status, /sbin/rc-update, /sbin/rc-service.

realpath The realpath utility uses the realpath(3) function to resolve all symbolic links, extra `/' characters and references to /./ and /../ in path. If path is absent, the current working directory (`.') is assumed.
red The ed utility is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files. When invoked as red, the editor runs in "restricted" mode, in which the only difference is that the editor restricts the use of filenames which start with `!' (interpreted as shell commands by ed) or contain a `/'.
rm The rm utility attempts to remove the non-directory type files specified on the command line. If the permissions of the file do not permit writing, and the standard input device is a terminal, the user is prompted (on the standard error output) for confirmation.
rmail Postfix to Sendmail compatibility interface
rmdir remove directories
setfacl The setfacl utility sets discretionary access control information on the specified file(s). If no files are specified, or the list consists of the only `-', the file names are taken from the standard input.
sh command interpreter (shell)
sleep suspend execution for an interval of time
stty set the options for a terminal device interface
sync The sync utility can be called to ensure that all disk writes have been completed before the processor is halted in a way not suitably done by reboot(8) or halt(8). Generally, it is preferable to use reboot(8) or halt(8) to shut down the system, as they may perform additional actions such as resynchronizing the hardware clock and flushing internal caches before performing a final sync.
tcsh C shell with file name completion and command line editing
test The test utility evaluates the expression and, if it evaluates to true, returns a zero (true) exit status; otherwise it returns 1 (false). If there is no expression, test also returns 1 (false). See also /bin/[ above.
unlink unlink: remove directory entries
uuidgen The uuidgen utility by default generates a single DCE version 1 universally unique identifier (UUID), also known as a globally unique identi fier (GUID). The UUID is written to stdout by default.
Back to Icon Disti GhostBSD.pngDirectory Structure