unix_commander 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -5
- data/lib/unix_commander/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -34,8 +34,6 @@ comm = UnixCommander::Command.new
|
|
34
34
|
comm.cat("file").tail("-n10").grep("'something'").run
|
35
35
|
```
|
36
36
|
|
37
|
-
<<<<<<< HEAD
|
38
|
-
=======
|
39
37
|
You can use redirection too
|
40
38
|
```
|
41
39
|
require 'unix_commander'
|
@@ -67,13 +65,10 @@ require 'unix_commander'
|
|
67
65
|
comm = UnixCommander::Command.new
|
68
66
|
comm.cat("file").tail("-n10").grep("'something'").run_ssh("Batou99","secret","remote_server")
|
69
67
|
```
|
70
|
-
<<<<<<< HEAD
|
71
|
-
=======
|
72
68
|
|
73
69
|
After running a command you can access it output using **out**, **err** or **both**
|
74
70
|
```
|
75
71
|
require 'unix_commander'
|
76
|
-
>>>>>>> development
|
77
72
|
|
78
73
|
comm = UnixCommander::Command.new
|
79
74
|
comm.cat("file").tail("-n10").grep("'something'").run_ssh("Batou99","secret","remote_server").out
|