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
‘apkdump’grab apk infos using aapt
‘arabic2roman’convert arabic number to roman
‘basefile’variant of basename for files
‘bashstyle-help’util to display fancy, colorful help messages
‘batchrename’batch rename files in NAME-NNN.SUFFIX scheme, with additonal options
‘binary-clock’binary clock for bash
‘box’create a boxes around text
‘camelcase’camelcase transform string
‘check’additional test functions
‘clock’regular clock for bash
‘convasc’convert ascii char to numerical equivalents
‘convbin’convert binaries to other numerical equivalents
‘convdec’convert decimals to other numerical equivalents
‘convhex’convert hexadecimals to other numerical equivalents
‘convoct’convert octals to other numerical equivalents
‘convtemp’convert between @C, @F and @K
‘crypt’crypt input string by shift 13 (also known as ceasars code)
‘deadlink’find dead links
‘empty’find empty files
‘gitkit’various companion functions for Git
eg.: used in the Equinox prompt to display Git repository information
‘list’various ls variants
‘loop’search for file inside colon-separated list of directories
‘man2pdf’create PDF from a manpage
‘map’run a command on given files or directories
‘morse2text’convert morse code to plain text
‘movie2gif’create GIF from Movie
‘ngroups’show groups current or given user is not part of
‘nseq’print a sequence of numbers from X to Y of same width
‘power’calculate powers of numbers
‘progressbar’display a progressbar while given PID is running
‘psgrep’find process by name
‘radical’calculate square root of a number
‘random’print random numbers or strings
‘randomfile’run a command on a random file
‘round’round number
‘ruler’print a numbered ruler on the terminal
‘showuser’prompt 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
‘stopwatch’stopwatch for bash
‘sufffix’fix suffix for files
‘systemkit’show various system information
eg.: used in prompts to show cpu load, battery, used/free RAM
‘text2morse’convert plain text to morse code
‘treefind’tree-ified variant of find
‘treeps’tree-ified variant of ps
‘truncpwd’pretty 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
‘xmlpager’pager for xml files with highlighted text