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

From GhostBSD Wiki
Jump to: navigation, search
(Content)
(Content)
Line 120: Line 120:
 
|/usr/local/sbin/foomatic-nonumericalids||
 
|/usr/local/sbin/foomatic-nonumericalids||
 
|-
 
|-
|/usr/local/sbin/foomatic-preferred-driver||
+
|/usr/local/sbin/foomatic-preferred-driver||[https://www.freebsd.org/cgi/man.cgi?query=foomatic-preferred-driver&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html foomatic-preferred-driver]
 
|-
 
|-
 
|/usr/local/sbin/foomatic-printermap-to-gutenprint-xml||
 
|/usr/local/sbin/foomatic-printermap-to-gutenprint-xml||
Line 126: Line 126:
 
|/usr/local/sbin/foomatic-replaceoldprinterids||
 
|/usr/local/sbin/foomatic-replaceoldprinterids||
 
|-
 
|-
|/usr/local/sbin/fsck.ext2||
+
|/usr/local/sbin/fsck.ext2||[https://www.freebsd.org/cgi/man.cgi?query=fsck.ext2&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html e2fsck] is used to check the ext2/ext3/ext4 family of file systems.
 
|-
 
|-
|/usr/local/sbin/fsck.ext3||
+
|/usr/local/sbin/fsck.ext3||[https://www.freebsd.org/cgi/man.cgi?query=fsck.ext2&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html e2fsck] is used to check the ext2/ext3/ext4 family of file systems.
 
|-
 
|-
|/usr/local/sbin/fsck.ext4||
+
|/usr/local/sbin/fsck.ext4||[https://www.freebsd.org/cgi/man.cgi?query=fsck.ext2&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html e2fsck] is used to check the ext2/ext3/ext4 family of file systems.
 
|-
 
|-
|/usr/local/sbin/fsck_ext2fs||
+
|/usr/local/sbin/fsck_ext2fs||[https://www.freebsd.org/cgi/man.cgi?query=fsck_ext2fs&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html 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||
+
|/usr/local/sbin/genccode||[https://www.freebsd.org/cgi/man.cgi?query=genccode&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html 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||
+
|/usr/local/sbin/gencmn||[https://www.freebsd.org/cgi/man.cgi?query=gencmn&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html 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/gennorm2||
 
|-
 
|-
|/usr/local/sbin/gensprep||
+
|/usr/local/sbin/gensprep||[https://www.freebsd.org/cgi/man.cgi?query=gensprep&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html 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||
+
|/usr/local/sbin/gpart||The [https://www.freebsd.org/cgi/man.cgi?query=gpart&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html gpart] program is a simplified interface  to gmap,  which  performs  graph partitioning instead of static mapping.
 
|-
 
|-
|/usr/local/sbin/hald||
+
|/usr/local/sbin/hald||[https://www.freebsd.org/cgi/man.cgi?query=hald&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html 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||
 
|/usr/local/sbin/icupkg||

Revision as of 12:10, 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
/usr/local/sbin/lightdm
/usr/local/sbin/logsave
/usr/local/sbin/lpadmin
/usr/local/sbin/lpc
/usr/local/sbin/lpinfo
/usr/local/sbin/lpmove
/usr/local/sbin/mate-display-properties-install-systemwide
/usr/local/sbin/mate-power-backlight-helper
/usr/local/sbin/mke2fs
/usr/local/sbin/mkfs.ext2
/usr/local/sbin/mkfs.ext3
/usr/local/sbin/mkfs.ext4
/usr/local/sbin/mklost+found
/usr/local/sbin/mkntfs
/usr/local/sbin/nmbd
/usr/local/sbin/ntfsclone
/usr/local/sbin/ntfscp
/usr/local/sbin/ntfslabel
/usr/local/sbin/ntfsrecover
/usr/local/sbin/ntfsresize
/usr/local/sbin/ntfsundelete
/usr/local/sbin/ownership
/usr/local/sbin/paperconfig
/usr/local/sbin/pc-sysinstall
/usr/local/sbin/pkg
/usr/local/sbin/pkg-static
/usr/local/sbin/pluginviewer
/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