Difference between revisions of "/usr/local/sbin/"

From GhostBSD Wiki
Jump to: navigation, search
(Content)
(Content)
Line 196: Line 196:
 
|/usr/local/sbin/ownership||[https://www.freebsd.org/cgi/man.cgi?query=ownership&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ownership]  retrieves  and prints the "ownership tag" that can be set on Compaq computers. Contrary to all other programs of the dmidecode package,  ownership doesn't print any version information, nor labels, but        only the raw  ownership tag.  This  should  help  its  integration  in      scripts.
 
|/usr/local/sbin/ownership||[https://www.freebsd.org/cgi/man.cgi?query=ownership&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ownership]  retrieves  and prints the "ownership tag" that can be set on Compaq computers. Contrary to all other programs of the dmidecode package,  ownership doesn't print any version information, nor labels, but        only the raw  ownership tag.  This  should  help  its  integration  in      scripts.
 
|-
 
|-
|/usr/local/sbin/paperconfig||
+
|/usr/local/sbin/paperconfig||[https://www.freebsd.org/cgi/man.cgi?query=paperconfig&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html paperconfig] - configure the system default paper size
 
|-
 
|-
|/usr/local/sbin/pc-sysinstall||
+
|'''/usr/local/sbin/[[Pc-sysinstall|pc-sysinstall]]'''||The [https://www.freebsd.org/cgi/man.cgi?query=pc-sysinstall&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pc-sysinstall] utility is a hybrid backend for installing FreeBSD.      When run in install mode it takes a configuration file and performs an    installation according to the parameters specified in the configuration    file.  When called with one of the system query commands it provides in  formation about the system to aid a front end in building an appropriate
 +
configuration file.
 
|-
 
|-
|/usr/local/sbin/pkg||
+
|'''/usr/local/sbin/[[Pkg|pkg]]'''||[https://www.freebsd.org/cgi/man.cgi?query=pkg&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pkg] provides an interface for manipulating packages: registering, adding,    removing and upgrading packages.  pkg-static is a statically linked variant of pkg typically only used for the initial installation of pkg.
 
|-
 
|-
|/usr/local/sbin/pkg-static||
+
|/usr/local/sbin/pkg-static||[https://www.freebsd.org/cgi/man.cgi?query=pkg&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pkg] provides an interface for manipulating packages: registering, adding,    removing and upgrading packages.  pkg-static is a statically linked variant of pkg typically only used for the initial installation of pkg.
 
|-
 
|-
|/usr/local/sbin/pluginviewer||
+
|/usr/local/sbin/pluginviewer||[https://www.freebsd.org/cgi/man.cgi?query=pluginviewer&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pluginviewer] can be used by a server administrator to troubleshoot SASL      installations. The  utility  can  list loadable (properly configured)      client and server side plugins, as well as auxprop plugins.
 +
 
 
|-
 
|-
 
|/usr/local/sbin/reject||
 
|/usr/local/sbin/reject||

Revision as of 13:45, 6 April 2020

Welcome to Icon Disti GhostBSD.png /usr/local/sbin/.
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

Introduction

Here you will find a lot of small applications, you don't find on your desktop task bar. No starter is there but on your computer. You can use them only on the cli. All commands are connected to the man pages. So you can read how to use them.

Content

Utility Description
/usr/local/sbin/accept
/usr/local/sbin/addgnupghome addgnupghome - Create .gnupg home directories; If GnuPG is installed on a system with existing user accounts, it is sometimes required to populate the GnuPG home directory with existing files. Especially a `trustlist.txt' and a keybox with some initial certificates are often desired. This scripts help to do this by copying all files from `/etc/skel/.gnupg' to the home directories of the accounts given on the command line. It takes care not to overwrite existing GnuPG home directories.
/usr/local/sbin/applygnupgdefaults applygnupgdefaults - Run gpgconf --apply-defaults for all users.
/usr/local/sbin/avahi-daemon The Avahi mDNS/DNS-SD daemon implements Apple's Zeroconf architecture (also known as "Rendezvous" or "Bonjour"). The daemon registers local IP addresses and static services using mDNS/DNS-SD and provides two IPC APIs for local programs to make use of the mDNS record cache the avahi-daemon maintains. First there is the so called "simple protocol" which is used exclusively by avahi-dnsconfd (a daemon which configures unicast DNS servers using server info published via mDNS) and nss-mdns (a libc NSS plugin, providing name resolution via mDNS). Finally there is the D-Bus interface which provides a rich object oriented interface to D-Bus enabled applications.
/usr/local/sbin/avahi-dnsconfd avahi-dnsconfd connects to a running avahi-daemon and runs the script /home/lennart/tmp/avahi/usr/local/etc/avahi/dnsconfd.action for each unicast DNS server that is announced on the local LAN. This is useful for configuring unicast DNS servers in a DHCP-like fashion with mDNS.
/usr/local/sbin/badblocks badblocks is used to search for bad blocks on a device (usually a disk partition). device is the special file corresponding to the device (e.g /dev/hdc1).
/usr/local/sbin/biosdecode biosdecode parses the BIOS memory and prints information about all structures (or entry points) it knows of.
/usr/local/sbin/blkid blkid - command-line utility to locate/print block device attributes
/usr/local/sbin/bonobo-activation-sysconf
/usr/local/sbin/ck-log-system-restart
/usr/local/sbin/ck-log-system-start
/usr/local/sbin/ck-log-system-stop
/usr/local/sbin/console-kit-daemon
/usr/local/sbin/cracklib-check CrackLib is a library containing a C function which may be used in a passwd(1)-like program.

The idea is simple: try to prevent users from choosing passwords that could be guessed by Crack by filtering them out, at source.

/usr/local/sbin/cracklib-format
/usr/local/sbin/cracklib-packer
/usr/local/sbin/cracklib-unpacker
/usr/local/sbin/create-cracklib-dict
/usr/local/sbin/cups-browsed cups-browsed - A daemon for browsing the Bonjour broadcasts of shared, remote CUPS printers
/usr/local/sbin/cups-genppd.5.3 cups-genppd - generate Gutenprint PPD files for use with CUPS
/usr/local/sbin/cups-genppdupdate cups-genppdupdate regenerates the Gutenprint PPD files in use by CUPS, using the PPD files under /usr/local/share/cups/model/gutenprint as templates.
/usr/local/sbin/cupsaccept The cupsaccept command instructs the printing system to accept print jobs to the specified destinations.
/usr/local/sbin/cupsaddsmb The cupsaddsmb program exports printers to the SAMBA software (version 2.2.0 or higher) for use with Windows clients. Depending on the SAMBA configuration, you may need to provide a password to export the printers. This program requires the Windows printer driver files.
/usr/local/sbin/cupsctl cupsctl updates or queries the cupsd.conf file for a server. When no changes are requested, the current configuration values are written to the standard output in the format "name=value", one per line.
/usr/local/sbin/cupsd cupsd is the scheduler for CUPS. It implements a printing system based upon the Internet Printing Protocol, version 2.1, and supports most of the requirements for IPP Everywhere. If no options are specified on the command-line then the default configuration file /usr/local/etc/cups/cupsd.conf will be used.
/usr/local/sbin/cupsdisable cupsdisable, cupsenable - stop/start printers and classes, cupsenable starts the named printers or classes while cupsdisable stops the named printers or classes.
/usr/local/sbin/cupsenable cupsdisable, cupsenable - stop/start printers and classes, cupsenable starts the named printers or classes while cupsdisable stops the named printers or classes.
/usr/local/sbin/cupsfilter cupsfilter is a front-end to the CUPS filter subsystem which allows you to convert a file to a specific format, just as if you had printed the file through CUPS. By default, cupsfilter generates a PDF file. The converted file is sent to the standard output.
/usr/local/sbin/cupsreject The cupsaccept command instructs the printing system to accept print jobs to the specified destinations.

The cupsreject command instructs the printing system to reject print jobs to the specified destinations. The -r option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unknown".

/usr/local/sbin/debugfs debugfs - ext2/ext3/ext4 file system debugger
/usr/local/sbin/dmidecode dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable.
/usr/local/sbin/dumpe2fs dumpe2fs - dump ext2/ext3/ext4 filesystem information
/usr/local/sbin/e2freefrag e2freefrag is used to report free space fragmentation on ext2/3/4 file systems. filesys is the filesystem device name (e.g. /dev/hdc1, /dev/md0). The e2freefrag program will scan the block bitmap information to check how many free blocks are present as contiguous and aligned free space. The percentage of contiguous free blocks of size and of alignment chunk_kb is reported. It also displays the minimum/maximum/average free chunk size in the filesystem, along with a histogram of all free chunks. This information can be used to gauge the level of free space fragmentation in the filesystem.
/usr/local/sbin/e2fsck e2fsck is used to check the ext2/ext3/ext4 family of file systems. For ext3 and ext4 filesystems that use a journal, if the system has been shut down uncleanly without any errors, normally, after replaying the committed transactions in the journal, the file system should be marked as clean. Hence, for filesystems that use journalling, e2fsck will normally replay the journal and exit, unless its superblock indicates that further checking is required.
/usr/local/sbin/e2image The e2image program will save critical ext2, ext3, or ext4 filesystem metadata located on device to a file specified by image-file. The image file may be examined by dumpe2fs and debugfs, by using the -i option to those programs. This can assist an expert in recovering catastrophically corrupted filesystems. In the future, e2fsck will be enhanced to be able to use the image file to help recover a badly damaged filesystem.
/usr/local/sbin/e2label e2label - Change the label on an ext2/ext3/ext4 filesystem
/usr/local/sbin/e2mmpstatus
/usr/local/sbin/e2undo e2undo will replay the undo log undo_log for an ext2/ext3/ext4 filesystem found on device. This can be used to undo a failed operation by an e2fsprogs program.
/usr/local/sbin/escapesrc
/usr/local/sbin/eventlogadm eventlogadm - push records into the Samba event log store
/usr/local/sbin/findfs findfs will search the disks in the system looking for a filesystem which has a label matching label or a UUID equal to uuid. If the filesystem is found, the device name for the filesystem will be printed on stdout.
/usr/local/sbin/foomatic-addpjloptions foomatic-addpjloptions formats the PJL information file (or STDIN) into a format usable by the Foomatic database.
/usr/local/sbin/foomatic-cleanupdrivers
/usr/local/sbin/foomatic-extract-text
/usr/local/sbin/foomatic-fix-xml
/usr/local/sbin/foomatic-getpjloptions foomatic-getpjloptions Sends a set of PJL commands and reads back the PJL options and status from a printer over a network connection or device bidirectional interface such as parallel, USB, serial. printers to standard output. The output can be piped into foomatic-addpjloptions to add options to the database.
/usr/local/sbin/foomatic-kitload foomatic-kitload installs a foomatic data kit into the local data library. It takes a -k dirname option, where dirname is the toplevel directory of a foomatic driver "kit". A "kit" is a selection of XML source files arranged exactly as in the source/section of the master database (ie, opt/driver/printer/ subdirs).
/usr/local/sbin/foomatic-nonumericalids
/usr/local/sbin/foomatic-preferred-driver foomatic-preferred-driver
/usr/local/sbin/foomatic-printermap-to-gutenprint-xml
/usr/local/sbin/foomatic-replaceoldprinterids
/usr/local/sbin/fsck.ext2 e2fsck is used to check the ext2/ext3/ext4 family of file systems.
/usr/local/sbin/fsck.ext3 e2fsck is used to check the ext2/ext3/ext4 family of file systems.
/usr/local/sbin/fsck.ext4 e2fsck is used to check the ext2/ext3/ext4 family of file systems.
/usr/local/sbin/fsck_ext2fs fsck_ext2fs maps the traditional FreeBSD fsck_ffs options to options with the same functionality for e2fsck, runs e2fsck and then maps its exit status to values that FreeBSD understands. e2fsck is a utility to check and repair ext2 and ext3 file systems.
/usr/local/sbin/genccode genccode reads each of the supplied filename and writes out a C file containing a compilable definition of the data in the data file. The C file name is made by taking the base name of the data filename, replacing dots by underscores, and adding a .c file extension.
/usr/local/sbin/gencmn gencmn takes a set of files and packages them as an ICU memory-mappable data file. The resulting data file can then be used directly by ICU.
/usr/local/sbin/gennorm2
/usr/local/sbin/gensprep gensprep reads filtered RFC 3454 files and compiles their information into a binary form. The resulting file, <name>.icu, can then be read directly by ICU, or used by pkgdata(8) for incorporation into a larger archive or library.
/usr/local/sbin/gpart The gpart program is a simplified interface to gmap, which performs graph partitioning instead of static mapping.
/usr/local/sbin/hald hald is a daemon that maintains a database of the devices connected to the system system in real-time. The daemon connects to the D-Bus system message bus to provide an API that applications can use to discover, monitor and invoke operations on devices.
/usr/local/sbin/icupkg icupkg reads the input ICU .dat package file, modify it according to the options, swap it to the desired platform properties (charset & endianness), and optionally write the resulting ICU .dat package to the output file. Items are removed, then added, then extracted and listed.
/usr/local/sbin/lightdm lightdm - a display manager
/usr/local/sbin/logsave The logsave program will execute cmd_prog with the specified argument(s), and save a copy of its output to logfile.
/usr/local/sbin/lpadmin lpadmin configures printer and class queues provided by CUPS. It can also be used to set the server default printer or class.
/usr/local/sbin/lpc The lpc utility is used by the system administrator to control the operation of the line printer system.
/usr/local/sbin/lpinfo lpinfo lists the available devices or drivers known to the CUPS server. The first form (-m) lists the available drivers, while the second form (-v) lists the available devices.
/usr/local/sbin/lpmove lpmove - move a job or all jobs to a new destination
/usr/local/sbin/mate-display-properties-install-systemwide This executable is part of the package 'mate-control-center': The MATE Control Center.

This command line tool installs a RANDR profile for multi-monitor setups into a systemwide location. The resulting profile will get used when the RANDR plug-in gets run in mate-settings-daemon.

/usr/local/sbin/mate-power-backlight-helper
/usr/local/sbin/mke2fs mke2fs is used to create an ext2, ext3, or ext4 filesystem, usually in a disk partition (or file) named by device.
/usr/local/sbin/mkfs.ext2 mke2fs is used to create an ext2, ext3, or ext4 filesystem, usually in a disk partition (or file) named by device.
/usr/local/sbin/mkfs.ext3 mke2fs is used to create an ext2, ext3, or ext4 filesystem, usually in a disk partition (or file) named by device.
/usr/local/sbin/mkfs.ext4 mke2fs is used to create an ext2, ext3, or ext4 filesystem, usually in a disk partition (or file) named by device.
/usr/local/sbin/mklost+found
/usr/local/sbin/mkntfs mkntfs is used to create an NTFS file system on a device (usually a disk partition) or file. device is the special file corresponding to the device (e.g /dev/hdXX). number-of-sectors is the number of sectors on the device. If omitted, mkntfs automagically figures the file system size.
/usr/local/sbin/nmbd nmbd - NetBIOS name server to provide NetBIOS over IP naming services to clients
/usr/local/sbin/ntfsclone ntfsclone will efficiently clone (copy, save, backup, restore) or rescue an NTFS filesystem to a sparse file, image, device (partition) or standard output. It works at disk sector level and copies only the used data.
/usr/local/sbin/ntfscp ntfscp will copy file to an NTFS volume.
/usr/local/sbin/ntfslabel ntfslabel will display or change the file system label on the ntfs file system located on device. It can also change the serial number of the device.
/usr/local/sbin/ntfsrecover ntfsrecover applies to the metadata the updates which were requested on Windows but could not be completed because they were interrupted by some event such as a power failure, a hardware crash, a software crash or the device being unplugged.
/usr/local/sbin/ntfsresize The ntfsresize program safely resizes Windows XP, Windows Server 2003, Windows 2000, Windows NT4 and Longhorn NTFS filesystems without data loss. All NTFS versions are supported, used by 32-bit and 64-bit Windows.
/usr/local/sbin/ntfsundelete ntfsundelete - recover a deleted file from an NTFS volume.
/usr/local/sbin/ownership ownership retrieves and prints the "ownership tag" that can be set on Compaq computers. Contrary to all other programs of the dmidecode package, ownership doesn't print any version information, nor labels, but only the raw ownership tag. This should help its integration in scripts.
/usr/local/sbin/paperconfig paperconfig - configure the system default paper size
/usr/local/sbin/pc-sysinstall The pc-sysinstall utility is a hybrid backend for installing FreeBSD. When run in install mode it takes a configuration file and performs an installation according to the parameters specified in the configuration file. When called with one of the system query commands it provides in formation about the system to aid a front end in building an appropriate

configuration file.

/usr/local/sbin/pkg pkg provides an interface for manipulating packages: registering, adding, removing and upgrading packages. pkg-static is a statically linked variant of pkg typically only used for the initial installation of pkg.
/usr/local/sbin/pkg-static pkg provides an interface for manipulating packages: registering, adding, removing and upgrading packages. pkg-static is a statically linked variant of pkg typically only used for the initial installation of pkg.
/usr/local/sbin/pluginviewer pluginviewer can be used by a server administrator to troubleshoot SASL installations. The utility can list loadable (properly configured) client and server side plugins, as well as auxprop plugins.
/usr/local/sbin/reject
/usr/local/sbin/resize2fs
/usr/local/sbin/rrsync
/usr/local/sbin/samba
/usr/local/sbin/samba_dnsupdate
/usr/local/sbin/samba_kcc
/usr/local/sbin/samba_spnupdate
/usr/local/sbin/samba_upgradedns
/usr/local/sbin/samba-gpupdate
/usr/local/sbin/saned
/usr/local/sbin/sasldblistusers2
/usr/local/sbin/saslpasswd2
/usr/local/sbin/slick-greeter
/usr/local/sbin/smbd
/usr/local/sbin/snmpd
/usr/local/sbin/snmptrapd
/usr/local/sbin/start-stop-daemon
/usr/local/sbin/tcsd
/usr/local/sbin/tcsd_emu
/usr/local/sbin/tune2fs
/usr/local/sbin/uuidd
/usr/local/sbin/visudo
/usr/local/sbin/vpddecode
/usr/local/sbin/webcamd
/usr/local/sbin/winbindd
/usr/local/sbin/xfce4-kiosk-query