toolshed v0.2.1 Toolshed.Unix
Helpers for when your fingers are too used to typing Unix commands.
Helpers include:
dmesg/0
- print kernel messagesreboot/0
- reboots gracefullyreboot!/0
- reboots immediately
Link to this section Summary
Functions
Print out a file
Run a regular expression on a file and print the matching lines
Print out directories and files in tree form
Link to this section Functions
Print out a file
Link to this function
grep(regex, path)
Run a regular expression on a file and print the matching lines.
iex> grep ~r/video/, “/etc/mime.types”
Print out directories and files in tree form.