Difference between revisions of "/bin/"

From GhostBSD Wiki
Jump to: navigation, search
Line 45: Line 45:
 
|/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.
 
|/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.
 
|-
 
|-
|/bin/kill||
+
|/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.
 +
 
 
|-
 
|-
|/bin/link||
+
|/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
 
|-
 
|-
|/bin/ln||
+
|/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
 
|-
 
|-
|/bin/ls||
+
|/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
 +
of files contained within that directory, as well as any requested, associated information.
 
|-
 
|-
|/bin/mkdir||
+
|/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)].
 
|-
 
|-
|/bin/mv||
+
|/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
 +
is assumed when the last operand does not name an already existing directory.
 
|-
 
|-
|/bin/pax||
+
|/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.
 
|-
 
|-
|/bin/pgrep||
+
|/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.
 
|-
 
|-
|/bin/pkill||
+
|/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.
 +
 
 
|-
 
|-
|/bin/ps||
+
|/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
 +
not have controlling terminals.
 
|-
 
|-
|/bin/pwait||
+
|/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.
 
|-
 
|-
|/bin/pwd||
+
|/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.
 
|-
 
|-
 
|/bin/rc-status||
 
|/bin/rc-status||
 
|-
 
|-
|/bin/realpath||
+
|/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.
 +
 
 
|-
 
|-
|/bin/red||
+
|/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 `/'.
 
|-
 
|-
|/bin/rm||
+
|/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.
 
|-
 
|-
|/bin/rmail||
+
|/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]
 
|-
 
|-
|/bin/rmdir||
+
|/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]
 
|-
 
|-
|/bin/setfacl||
+
|/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.
 
|-
 
|-
|/bin/sh||
+
|/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)]
 
|-
 
|-
|/bin/sleep||
+
|/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]
 
|-
 
|-
|/bin/stty||
+
|/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]
 
|-
 
|-
|/bin/sync||
+
|/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.
 
|-
 
|-
|/bin/tcsh||
+
|/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
 
|-
 
|-
|/bin/test||
+
|/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).
 
|-
 
|-
|/bin/unlink||
+
|/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
 
|-
 
|-
|/bin/uuidgen||
+
|/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.
 
|-
 
|-
 
!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'''

Revision as of 04:34, 10 February 2020

Welcome to Icon Disti GhostBSD.png /bin/.
This page is in maintenance!
Please do not change this page without to contact the author or use Discussion!
Utility Description
/bin/[ 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).
/bin/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).
/bin/chflags The chflags utility modifies the file flags of the listed files as specified by the flags operand.
/bin/chio The chio utility is used to control the operation of medium changers, such as those found in tape and optical disk jukeboxes.
/bin/chmod The 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 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 C shell
/bin/date display or set date and time
/bin/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.
/bin/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.
/bin/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.
/bin/echo The 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 ed utility is a line-oriented text editor.
/bin/expr The 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.
/bin/getfacl The getfacl utility writes discretionary access control information associated with the specified file(s) to standard output.
/bin/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.
/bin/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.
/bin/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.
/bin/link link, linkat make a hard file link
/bin/ln ln, link -- link files
/bin/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.

/bin/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).
/bin/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.

/bin/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.
/bin/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.
/bin/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.
/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

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.
/bin/pwd The pwd utility writes the absolute pathname of the current working directory to the standard output.
/bin/rc-status
/bin/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.
/bin/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 `/'.
/bin/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.
/bin/rmail Postfix to Sendmail compatibility interface
/bin/rmdir 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.
/bin/sh command interpreter (shell)
/bin/sleep suspend execution for an interval of time
/bin/stty set the options for a terminal device interface
/bin/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.
/bin/tcsh C shell with file name completion and command line editing
/bin/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).
/bin/unlink unlink: remove directory entries
/bin/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