22 Utilities

BashStyle-NG features a set of utils you can use in your prompt and/or everyday use. Every util has a --help message, for further information.

UtilityDescription
apkdumpgrab apk infos using aapt
arabic2romanconvert arabic number to roman
basefilevariant of basename for files
bashstyle-helputil to display fancy, colorful help messages
batchrenamebatch rename files in NAME-NNN.SUFFIX scheme, with additonal options
binary-clockbinary clock for bash
boxcreate a boxes around text
camelcasecamelcase transform string
checkadditional test functions
clockregular clock for bash
convascconvert ascii char to numerical equivalents
convbinconvert binaries to other numerical equivalents
convdecconvert decimals to other numerical equivalents
convhexconvert hexadecimals to other numerical equivalents
convoctconvert octals to other numerical equivalents
convtempconvert between @C, @F and @K
cryptcrypt input string by shift 13 (also known as ceasars code)
deadlinkfind dead links
emptyfind empty files
gitkitvarious companion functions for Git
eg.: used in the Equinox prompt to display Git repository information
listvarious ls variants
loopsearch for file inside colon-separated list of directories
man2pdfcreate PDF from a manpage
maprun a command on given files or directories
morse2textconvert morse code to plain text
movie2gifcreate GIF from Movie
ngroupsshow groups current or given user is not part of
nseqprint a sequence of numbers from X to Y of same width
powercalculate powers of numbers
progressbardisplay a progressbar while given PID is running
psgrepfind process by name
radicalcalculate square root of a number
randomprint random numbers or strings
randomfilerun a command on a random file
roundround number
rulerprint a numbered ruler on the terminal
showuserprompt function to display $ or user-set char and # or user-set char for root
eg.: used in all prompts to display the user set symbol for user/root
stopwatchstopwatch for bash
sufffixfix suffix for files
systemkitshow various system information
eg.: used in prompts to show cpu load, battery, used/free RAM
text2morseconvert plain text to morse code
treefindtree-ified variant of find
treepstree-ified variant of ps
truncpwdpretty print current directory
eg.: used in most prompts to display the current directory at fixed length,
used the symbol settings cut char and directory indicator to decorate output
xmlpagerpager for xml files with highlighted text