Index of /utils/

NameLast ModifiedSize
UpParent Directory
[TXT]a.c2021-02-13 19:20 4k
[TXT]al.c2021-02-13 19:20 4k
[CMP]centaur-utils-1.21.tar.gz2021-02-13 19:20 20k
FileCHECKSUM.MD52021-02-13 19:20 4k
[TXT]color.c2021-02-13 19:20 4k
[TXT]color.h2021-02-13 19:20 4k
[TXT]cop.c2021-02-13 19:20 4k
[TXT]ddir.c2021-02-13 19:20 4k
[TXT]dl.c2021-02-13 19:20 4k
[TXT]dom.c2021-02-13 19:20 4k
[TXT]dr.c2021-02-13 19:20 12k
[TXT]dt.c2021-02-13 19:20 4k
[TXT]fd.c2021-02-13 19:20 4k
FileHELP2021-02-13 19:20 8k
[TXT]il.c2021-02-13 19:20 4k
FileMakefile2021-02-13 19:20 8k
[TXT]mkd.c2021-02-13 19:20 4k
[TXT]mkf.c2021-02-13 19:20 4k
[TXT]mov.c2021-02-13 19:20 4k
[TXT]msgcli.c2021-02-13 19:20 4k
[TXT]msgsrv.c2021-02-13 19:20 8k
[TXT]ov.c2021-02-13 19:20 4k
[TXT]ovl.c2021-02-13 19:20 4k
[TXT]r.c2021-02-13 19:20 4k
[TXT]rdln.c2021-02-13 19:20 4k
[TXT]rl.c2021-02-13 19:20 4k
[TXT]rn.c2021-02-13 19:20 4k
[TXT]slasher.c2021-02-13 19:20 4k
[TXT]snd.c2021-02-13 19:20 4k
[TXT]tell.c2021-02-13 19:20 4k
FileUTILS2021-02-13 19:20 16k
Fileutils-help2021-02-13 19:20 20k
[TXT]wl.c2021-02-13 19:20 4k
[TXT]wt.c2021-02-13 19:20 4k
CENTAUR UTILITIES ----------------- Version 1.21 2/13/2021 http:/www.centaur.pw <jon@centel.cc> ABOUT ----- A collection of 27 independent Linux shell utilities for various purposes. The 'dr' program requires the OpenSSL 'md5.h' header. The 'fd' program requires 'libcurl-devel'. COMPILING & INSTALLATION ------------------------ By default, a new directory, '/usr/utils', is created when installing the compiled utilities. The 'INSTALLDIR' variable in the Makefile may be changed; e.g. to '/usr/bin' to avoid the need to add a new entry to a user's PATH environment variable. To build all binaries: $ make To build an individual binary: $ make prog-name To move the compiled binaries to the installation directory (see above) and copy the included help files: $ make install To remove the object files generated by make: $ make clean To delete the installed binaries: $ make uninstall UTILITIES LIST -------------- a - Append block of text to files al - Append a line of text to a file color - Return an ANSI escape sequence for a color or stylization cop - Copy files ddir - Delete empty directories dl - Delete files dom - Get IP address of hostname dr - List directory contents dt - Display date and/or time fd - Download single files il - Insert a line into a file mkd - Create directories mkf - Create blank files mov - Move or rename files and directories msgcli - Simple telnet client which reads text from a message server msgsrv - Simple telnet server which outputs text upon connection ov - Write block of text to files, overwriting if they exist ovl - Write a line of text to a file, overwriting if it exists r - Display contents of files rdln - Read a specific line number from a file rl - Delete a specified line number from a file rn - Display contents of files with line numbers snd - Find and delete files with a specific name slasher - Corrupt and optionally delete files tell - Echo text to the screen wl - Write a line of text to a new file wt - Write block of text to new files utils-help - Display a quick reference table of utilities and their syntax NOTE: 'utils-help' is a shell script requiring Centaur Night version 1.3 to interpret the color codes contained within. If Night is not installed, use 'utils-help-nocolor' to display this table without color. The 'HELP' file is also copied to the installation directory. OPTIONS & PARAMETERS -------------------- <> - required parameter [] - optional parameter ... - any number of parameters, using wildcards or separated by a space Options must always be provided before other parameters when used. When specifying multiple options, they must be run together as one string, except when executing 'dt' or 'msgsrv'. SYNTAX ------ a [-H] <file ...> [-H] - Display program syntax and options This program will create <file> if it does not exist. al [-H] <file> '<text>' [-H] - Display program syntax and options This program will create <file> if it does not exist. color [-H] [-t] <code ...> [-H] - Display program syntax and options [-t] - Display the table of color names and codes used with this program <code> may be the name or number of a color or stylization code. cop [-H] [-v] <file ...> <dest> [-H] - Display program syntax and options [-v] - Verbose mode; output details of operation ddir [-H] [-v] <dir ...> [-H] - Display program syntax and options [-v] - Verbose mode; output details of operation <dir> must be empty. dl [-H] [-v] <file ...> [-H] - Display program syntax and options [-v] - Verbose mode; output details of operation This program will not attempt to delete directories. dom [-H] <hostname> [-H] - Display program syntax and options If <hostname> is a valid IP address, it will return itself. dr [-H] [-htasp] [dir ...] [file ...] [-H] - Display program syntax and options [-h] - Do not display MD5 hashes [-t] - Do not display total size [-a] - Also display hidden files [-s] - Do not display individual file sizes [-p] - Do not display file permissions dt [-H] [-h] [-f] [-F] [-t] [-H] - Display program syntax and options [-h] - Display additional program help [-f] - Display full date with name of month [-F] - Same as '-f' but includes time [-t] - Display time only This program only supports one option at a time. fd [-H] <url> [output-file] [-H] - Display program syntax and options Failed downloads often result in a blank file. Output file defaults to the file specifed in the URL if not provided. il [-H] <file> <before-line> '<string>' [-H] - Display program syntax and options <string> should be enclosed in single quotes or double quotes. If <before-line> is out of range, the operation will fail. mkd [-H] [-v] <dir ...> [-H] - Display program syntax and options [-v] - Verbose mode; output details of operation mkf [-H] [-v] <file ...> [-H] - Display program syntax and options [-v] - Verbose mode; output details of operation mov [-H] [-v] <file ...> <dest> [-H] - Display program syntax and options [-v] - Verbose mode; output details of operation msgcli [-H] <host> <port> [-H] - Display program syntax and options <host> must be a valid domain name or IP address. <port> must be a valid TCP port number. msgsrv [-H] [-f file] [-m "mesg"] <-p port> & [-H] - Display program syntax and options [-f] - Output text of [file] on connection [-m] - Output [message] on connection <-p> - Set TCP port number to listen on for connections as <port> [mesg] should be enclosed in single quotes or double quotes. Options -f and -m cannot be used together. ov [-H] <file ...> [-H] - Display program syntax and options This program will overwrite existing files. ovl [-H] <file> '<text>' [-H] - Display program syntax and options This program will overwrite existing files. r [-H] [-f] <file ...> [-H] - Display program syntax and options [-f] - Display file name before contents of file rdln [-H] <file> <line> [-H] - Display program syntax and options rl [-H] <file> <line> [-H] - Display program syntax and options Only one file may be specified at a time. If <line> is out of range, the operation will fail. rn [-H] <file ...> [-H] - Display program syntax and options Line numbers begin at 1 for each specified file. snd [-H] [-v] <file> [-H] - Display program syntax and options [-v] - Verbose mode; output details of operation <file> must be the exact name of the file to delete. CAUTION: This program deletes matching files without confirmation. slasher [-H] [-vdr] <file ...> [-H] - Display program syntax and options [-v] - Verbose mode; output details of operation [-d] - Delete the file after overwriting it [-r] - Overwrite with a random number of bytes (up to 10240) When '-r' is not used, the file size does not change. tell [-H] <text ...> [-H] - Display program syntax and options <text> does not strictly require quotes. wl [-H] <file> '<text>' [-H] - Display program syntax and options This program will not attempt to overwrite <file> if it exists. wt [-H] <file ...> [-H] - Display program syntax and options This program will not attempt to overwrite an existing file.
Proudly Served by LiteSpeed Web Server at centel.cc Port 443