Difference between revisions of "/bin/"

From GhostBSD Wiki
Jump to: navigation, search
 
(3 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 43: Line 42:
 
|/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''.
 
|/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''.
 
|-
 
|-
|/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||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/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.
Line 70: Line 69:
 
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.
+
|/bin/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.
 
|/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||TrueOS has been using OpenRC successfully for many years in base and ports.
+
|/bin/[[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.
 
|/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.
Line 92: Line 91:
 
|/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/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.
+
|/bin/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)]
 
|/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)]

Latest revision as of 09:53, 14 April 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
/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 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 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.

/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 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). See also /bin/[ above.
/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