Toolshed.Unix (toolshed v0.2.15) View Source
Helpers for when your fingers are too used to typing Unix commands.
Helpers include:
Link to this section Summary
Functions
Print out a file
Print out the date similar to the Unix date command
Run a regular expression on a file and print the matching lines.
Print out directories and files in tree form.
Print out the current uptime.
Link to this section Functions
Specs
cat(Path.t()) :: :"do not show this result in output"
Print out a file
Specs
date() :: String.t()
Print out the date similar to the Unix date command
Specs
Run a regular expression on a file and print the matching lines.
iex> grep ~r/video/, "/etc/mime.types"
Specs
tree(Path.t()) :: :"do not show this result in output"
Print out directories and files in tree form.
Specs
uptime() :: :"do not show this result in output"
Print out the current uptime.