ODX Utils

ODX Command Line Utils

Gem Version Build Status

Utilities

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.