ODX Utils
ODX Command Line Utils
Utilities
odx_mkscript- create stub of shell scriptodx_rand- generate random string or fileodx_getip- show current machine's ipodx_shlog- show filtered bash historyodx_sz- show size of fileodx_date- show current dateodx_usr- show current user's name
Install
$ [sudo] gem install odx --no-wrapper
Usage
mkscript
$ odx_mkscript <filename> ## -- Create stub of shell script at /usr/local/bin
rand
$ odx_rand <size> [filepath] ## -- Generate random string of specified size
getip
$ odx_getip ## -- Show current machine's IP
shlog
$ odx_shlog [filter] ## -- Show filtered (if specified) bash history
sz
$ odx_sz <filepath> ## -- Show size of specified file
date
$ odx_date [filter] ## -- Show current date
## Params:
## - dt, date date
## - t, time time
## - y, year year
## - m, month month
## - d, day day
## - hour hours
## - min minites
## - sec seconds
usr
$ odx_usr ## -- Show current user's name
Contributing
Feel free to use the Github issue tracker and pull requests to discuss and submit code changes.
License
ODX Utils are made available under the terms of the MIT License. See the LICENSE file that accompanies this distribution for the full text of the license.