linux-tools 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/.document +0 -0
  2. data/.yardoc/checksums +1 -1
  3. data/.yardoc/objects/root.dat +0 -0
  4. data/.yardoc/proxy_types +0 -0
  5. data/Gemfile +8 -4
  6. data/Gemfile.lock +47 -9
  7. data/LICENSE.txt +1 -1
  8. data/README.rdoc +0 -0
  9. data/Rakefile +17 -16
  10. data/VERSION +1 -1
  11. data/doc/Lt.html +245 -165
  12. data/doc/_index.html +46 -28
  13. data/doc/class_list.html +26 -9
  14. data/doc/css/common.css +0 -0
  15. data/doc/css/full_list.css +6 -2
  16. data/doc/css/style.css +65 -55
  17. data/doc/file.LICENSE.html +41 -41
  18. data/doc/file.README.html +70 -51
  19. data/doc/file_list.html +31 -11
  20. data/doc/frames.html +21 -6
  21. data/doc/index.html +70 -51
  22. data/doc/js/app.js +67 -56
  23. data/doc/js/full_list.js +43 -19
  24. data/doc/js/jquery.js +4 -16
  25. data/doc/method_list.html +45 -28
  26. data/doc/top-level-namespace.html +48 -24
  27. data/features/linux-tools.feature +9 -0
  28. data/features/step_definitions/linux-tools_steps.rb +0 -0
  29. data/features/support/env.rb +13 -0
  30. data/lib/linux-tools.rb +0 -0
  31. data/linux-tools.gemspec +37 -48
  32. data/tests/linux-tools_tests.rb +8 -0
  33. data/{test/helper.rb → tests/tests_helper.rb} +4 -9
  34. metadata +144 -110
  35. data/.buildpath +0 -5
  36. data/.project +0 -17
  37. data/coverage/index.html +0 -106
  38. data/coverage/jquery-1.3.2.min.js +0 -19
  39. data/coverage/jquery.tablesorter.min.js +0 -15
  40. data/coverage/lib-linux-tools_rb.html +0 -495
  41. data/coverage/print.css +0 -12
  42. data/coverage/rcov.js +0 -42
  43. data/coverage/screen.css +0 -270
  44. data/lib/build +0 -3
  45. data/pkg/linux-tools-0.0.0.gem +0 -0
  46. data/pkg/linux-tools-0.1.0.gem +0 -0
  47. data/pkg/lt-0.0.0.gem +0 -0
  48. data/rdoc/classes/Lt.html +0 -553
  49. data/rdoc/created.rid +0 -1
  50. data/rdoc/files/README_rdoc.html +0 -141
  51. data/rdoc/files/lib/linux-tools_rb.html +0 -101
  52. data/rdoc/fr_class_index.html +0 -27
  53. data/rdoc/fr_file_index.html +0 -28
  54. data/rdoc/fr_method_index.html +0 -44
  55. data/rdoc/index.html +0 -24
  56. data/rdoc/rdoc-style.css +0 -208
  57. data/test/test_linux-tools.rb +0 -7
@@ -1,12 +0,0 @@
1
- /* Hide controls */
2
-
3
- body {
4
- color: #000000;
5
- background-color: #ffffff;
6
- }
7
-
8
- /* Hide controls */
9
-
10
- div.filters {
11
- display: none;
12
- }
@@ -1,42 +0,0 @@
1
- function toggleCode( id ) {
2
- if ( document.getElementById ) {
3
- elem = document.getElementById( id );
4
- } else if ( document.all ) {
5
- elem = eval( "document.all." + id );
6
- } else {
7
- return false;
8
- }
9
-
10
- elemStyle = elem.style;
11
-
12
- if ( elemStyle.display != "block" ) {
13
- elemStyle.display = "block";
14
- } else {
15
- elemStyle.display = "none";
16
- }
17
-
18
- return true;
19
- }
20
-
21
- function restripe() {
22
- i = 0;
23
- $('table#report_table tbody tr').each(function(){
24
- if (this.style.display != "none") {
25
- i += 1;
26
- classes = this.className.split(" ");
27
- if ($.inArray("even",classes) != -1) {
28
- classes.splice($.inArray("even",classes),1);
29
- } else if ($.inArray("odd",classes) != -1) {
30
- classes.splice($.inArray("odd",classes),1);
31
- }
32
- if (i % 2 === 0) {
33
- this.className = classes.join(" ") + " odd";
34
- } else {
35
- this.className = classes.join(" ") + " even";
36
- }
37
- }
38
- });
39
- }
40
-
41
- // Fix IE's lack of support for indexOf (!)
42
- if (!Array.indexOf) { Array.prototype.indexOf = function(obj){ for(var i=0; i<this.length; i++){ if(this[i]==obj){return i;} } return -1; }}
@@ -1,270 +0,0 @@
1
- /* @group General */
2
-
3
- body {
4
- font-family: Verdana, Helvetica, Arial, Sans-Serif;
5
- font-size: 12px;
6
- color: #4C4C4C;
7
- background-color: #F4F2ED;
8
- padding: 1em;
9
- }
10
-
11
- a:link {
12
- color: #191919;
13
- }
14
-
15
- a:visited {
16
- color: #191919;
17
- }
18
-
19
- pre, code {
20
- color: #000000;
21
- font-family: "Bitstream Vera Sans Mono","Monaco","Courier New",monospace;
22
- font-size: 95%;
23
- line-height: 1.3em;
24
- margin-top: 0;
25
- margin-bottom: 0;
26
- padding: 0;
27
- word-wrap: break-word;
28
- }
29
-
30
- h1, h2, h3, h4, h5, h6 {
31
- margin: 0em 0em 1em 0em;
32
- color: #666666;
33
- }
34
-
35
- h1 {
36
- display: block;
37
- font-size: 2em;
38
- letter-spacing: -1px;
39
- }
40
-
41
- h2 {
42
- margin-top: -1em;
43
- }
44
-
45
- fieldset {
46
- display: inline;
47
- border: 0px;
48
- padding: 0px;
49
- margin-right: 1em;
50
- }
51
-
52
- div.filters {
53
- margin-bottom: 1em;
54
- }
55
-
56
- .hidden {
57
- display: none;
58
- }
59
-
60
- /* @end */
61
-
62
- /* @group Cross-References */
63
-
64
- span.cross-ref-title {
65
- font-size: 140%;
66
- }
67
-
68
- span.cross-ref a {
69
- text-decoration: none;
70
- }
71
-
72
- span.cross-ref {
73
- background-color:#f3f7fa;
74
- border: 1px dashed #333;
75
- margin: 1em;
76
- padding: 0.5em;
77
- overflow: hidden;
78
- }
79
-
80
- a.crossref-toggle {
81
- text-decoration: none;
82
- }
83
-
84
- /* @end */
85
-
86
- /* @group Report Table */
87
-
88
- div.report_table_wrapper {
89
- min-width: 900px;
90
- }
91
-
92
- table.report {
93
- border-collapse: collapse;
94
- border: 1px solid #666666;
95
- width: 100%;
96
- margin-bottom: 1em;
97
- }
98
-
99
- table.report tr {
100
- line-height: 1.75em;
101
- }
102
-
103
- table.report th {
104
- background: #666666;
105
- color: #ffffff;
106
- text-align: right;
107
- text-transform: uppercase;
108
- font-size: .8em;
109
- font-weight: bold;
110
- padding: 0em .5em;
111
- border: 1px solid #666666;
112
- }
113
-
114
- table.report tfoot tr {
115
- background: #dddddd;
116
- font-weight: bold;
117
- padding: .5em;
118
- border: 1px solid #666666;
119
- }
120
-
121
- th.left_align, td.left_align {
122
- text-align: left !important;
123
- }
124
-
125
- th.right_align, td.right_align {
126
- text-align: right;
127
- padding-right: 2em !important;
128
- }
129
-
130
- table.report th.header:hover {
131
- cursor: pointer;
132
- text-decoration: underline;
133
- }
134
-
135
- table.report th.headerSortUp:after{
136
- content: "\25BC";
137
- margin-left: 1em;
138
- }
139
-
140
- table.report th.headerSortDown:after {
141
- content: "\25B2";
142
- margin-left: 1em;
143
- }
144
-
145
- table.report tr.summary_row {
146
- background: #cccccc;
147
- border: 1px solid #cccccc;
148
- }
149
-
150
- table.report tr.summary_row td {
151
- padding-left: .2em !important;
152
- color: #333333;
153
- font-weight: bold;
154
- }
155
-
156
- table.report td {
157
- padding: .2em .5em .2em .5em;
158
- }
159
-
160
- table.report td a {
161
- text-decoration: none;
162
- }
163
-
164
- table.report tbody tr:hover {
165
- background: #cccccc !important;
166
- }
167
-
168
- table.report tr.summary_row td {
169
- border-bottom: 1px solid #aaaaaa;
170
- }
171
-
172
- table.report tr {
173
- background-color: #eeeeee;
174
- }
175
-
176
- table.report tr.odd {
177
- background-color: #dddddd;
178
- }
179
-
180
- /* @end */
181
-
182
- /* @group Percentage Graphs */
183
-
184
- div.percent_graph_legend {
185
- width: 5.5em;
186
- float: left;
187
- margin: .5em 1em .5em 0em;
188
- height: 1em;
189
- line-height: 1em;
190
- }
191
-
192
- div.percent_graph {
193
- height: 1em;
194
- border: #333333 1px solid;
195
- empty-cells: show;
196
- padding: 0px;
197
- border-collapse: collapse;
198
- width: 100px !important;
199
- float: left;
200
- margin: .5em 1em .5em 0em;
201
- }
202
-
203
- div.percent_graph div {
204
- float: left;
205
- height: 1em;
206
- padding: 0px !important;
207
- }
208
-
209
- div.percent_graph div.covered {
210
- background: #649632;
211
- }
212
-
213
- div.percent_graph div.uncovered {
214
- background: #a92730;
215
- }
216
-
217
- div.percent_graph div.NA {
218
- background: #eaeaea;
219
- }
220
-
221
- /* @end */
222
-
223
- /* @group Details page */
224
-
225
- table.details {
226
- margin-top: 1em;
227
- border-collapse: collapse;
228
- width: 100%;
229
- border: 1px solid #666666;
230
- }
231
-
232
- table.details tr {
233
- line-height: 1.75em;
234
- }
235
-
236
- table.details td {
237
- padding: .25em;
238
- }
239
-
240
- span.inferred, span.inferred1, span.marked, span.marked1, span.uncovered, span.uncovered1 {
241
- display: block;
242
- padding: .25em;
243
- }
244
-
245
- tr.inferred td, span.inferred {
246
- background-color: #e0dedb;
247
- }
248
-
249
- tr.inferred1 td, span.inferred1 {
250
- background-color: #e0dedb;
251
- }
252
-
253
- tr.marked td, span.marked, span.marked1 {
254
- background-color: #bed2be;
255
- }
256
-
257
- tr.uncovered td, span.uncovered {
258
- background-color: #ce8b8c;
259
- }
260
-
261
- tr.uncovered1 td, span.uncovered1 {
262
- background-color: #ce8b8c;
263
- }
264
-
265
- div.key {
266
- border: 1px solid #666666;
267
- margin: 1em 0em;
268
- }
269
-
270
- /* @end */
data/lib/build DELETED
@@ -1,3 +0,0 @@
1
- rake gemspec
2
- rake build
3
- sudo rake install
Binary file
Binary file
Binary file
@@ -1,553 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Lt</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Lt</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/linux-tools_rb.html">
59
- lib/linux-tools.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000003">cat</a>&nbsp;&nbsp;
90
- <a href="#M000002">cd</a>&nbsp;&nbsp;
91
- <a href="#M000004">chmod</a>&nbsp;&nbsp;
92
- <a href="#M000005">cp</a>&nbsp;&nbsp;
93
- <a href="#M000006">date</a>&nbsp;&nbsp;
94
- <a href="#M000007">df</a>&nbsp;&nbsp;
95
- <a href="#M000008">du</a>&nbsp;&nbsp;
96
- <a href="#M000009">kill</a>&nbsp;&nbsp;
97
- <a href="#M000001">ls</a>&nbsp;&nbsp;
98
- <a href="#M000010">mkdir</a>&nbsp;&nbsp;
99
- <a href="#M000011">mv</a>&nbsp;&nbsp;
100
- <a href="#M000012">passwd</a>&nbsp;&nbsp;
101
- <a href="#M000013">ps</a>&nbsp;&nbsp;
102
- <a href="#M000014">pwd</a>&nbsp;&nbsp;
103
- <a href="#M000015">rm</a>&nbsp;&nbsp;
104
- <a href="#M000016">rmdir</a>&nbsp;&nbsp;
105
- <a href="#M000017">who</a>&nbsp;&nbsp;
106
- <a href="#M000018">whoami</a>&nbsp;&nbsp;
107
- </div>
108
- </div>
109
-
110
- </div>
111
-
112
-
113
- <!-- if includes -->
114
-
115
- <div id="section">
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
- <!-- if method_list -->
125
- <div id="methods">
126
- <h3 class="section-bar">Public Class methods</h3>
127
-
128
- <div id="method-M000003" class="method-detail">
129
- <a name="M000003"></a>
130
-
131
- <div class="method-heading">
132
- <a href="#M000003" class="method-signature">
133
- <span class="method-name">cat</span><span class="method-args">()</span>
134
- </a>
135
- </div>
136
-
137
- <div class="method-description">
138
- <p><a class="source-toggle" href="#"
139
- onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
140
- <div class="method-source-code" id="M000003-source">
141
- <pre>
142
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 12</span>
143
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">cat</span>
144
- <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;please enter the filename&quot;</span>
145
- <span class="ruby-identifier">file</span> = <span class="ruby-identifier">gets</span>
146
- <span class="ruby-identifier">system</span>(<span class="ruby-value str">&quot;cat &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">file</span>)
147
- <span class="ruby-keyword kw">end</span>
148
- </pre>
149
- </div>
150
- </div>
151
- </div>
152
-
153
- <div id="method-M000002" class="method-detail">
154
- <a name="M000002"></a>
155
-
156
- <div class="method-heading">
157
- <a href="#M000002" class="method-signature">
158
- <span class="method-name">cd</span><span class="method-args">()</span>
159
- </a>
160
- </div>
161
-
162
- <div class="method-description">
163
- <p><a class="source-toggle" href="#"
164
- onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
165
- <div class="method-source-code" id="M000002-source">
166
- <pre>
167
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 6</span>
168
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">cd</span>
169
- <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;this function is currently not operational&quot;</span>
170
- <span class="ruby-identifier">dir</span> = <span class="ruby-identifier">gets</span>
171
- <span class="ruby-identifier">system</span>(<span class="ruby-value str">&quot;cd &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">dir</span>)
172
- <span class="ruby-keyword kw">end</span>
173
- </pre>
174
- </div>
175
- </div>
176
- </div>
177
-
178
- <div id="method-M000004" class="method-detail">
179
- <a name="M000004"></a>
180
-
181
- <div class="method-heading">
182
- <a href="#M000004" class="method-signature">
183
- <span class="method-name">chmod</span><span class="method-args">()</span>
184
- </a>
185
- </div>
186
-
187
- <div class="method-description">
188
- <p><a class="source-toggle" href="#"
189
- onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
190
- <div class="method-source-code" id="M000004-source">
191
- <pre>
192
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 18</span>
193
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">chmod</span>
194
- <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;Please input the name of the directory/file you want to execute chmod on&quot;</span>
195
- <span class="ruby-identifier">file</span> = <span class="ruby-identifier">gets</span>
196
- <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;Please enter the mode type either in numerical or alphabetic mode&quot;</span>
197
- <span class="ruby-identifier">mode</span> = <span class="ruby-identifier">gets</span>
198
- <span class="ruby-identifier">system</span>(<span class="ruby-value str">&quot;chmod &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">mode</span><span class="ruby-operator">+</span><span class="ruby-value str">&quot; &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">file</span>)
199
- <span class="ruby-keyword kw">end</span>
200
- </pre>
201
- </div>
202
- </div>
203
- </div>
204
-
205
- <div id="method-M000005" class="method-detail">
206
- <a name="M000005"></a>
207
-
208
- <div class="method-heading">
209
- <a href="#M000005" class="method-signature">
210
- <span class="method-name">cp</span><span class="method-args">()</span>
211
- </a>
212
- </div>
213
-
214
- <div class="method-description">
215
- <p><a class="source-toggle" href="#"
216
- onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
217
- <div class="method-source-code" id="M000005-source">
218
- <pre>
219
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 26</span>
220
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">cp</span>
221
- <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;please enter the source and destination&quot;</span>
222
- <span class="ruby-identifier">file</span> = <span class="ruby-identifier">gets</span>
223
- <span class="ruby-identifier">system</span>(<span class="ruby-value str">&quot;cp &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">file</span>)
224
- <span class="ruby-keyword kw">end</span>
225
- </pre>
226
- </div>
227
- </div>
228
- </div>
229
-
230
- <div id="method-M000006" class="method-detail">
231
- <a name="M000006"></a>
232
-
233
- <div class="method-heading">
234
- <a href="#M000006" class="method-signature">
235
- <span class="method-name">date</span><span class="method-args">()</span>
236
- </a>
237
- </div>
238
-
239
- <div class="method-description">
240
- <p><a class="source-toggle" href="#"
241
- onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
242
- <div class="method-source-code" id="M000006-source">
243
- <pre>
244
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 32</span>
245
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">date</span>
246
- <span class="ruby-keyword kw">end</span>
247
- </pre>
248
- </div>
249
- </div>
250
- </div>
251
-
252
- <div id="method-M000007" class="method-detail">
253
- <a name="M000007"></a>
254
-
255
- <div class="method-heading">
256
- <a href="#M000007" class="method-signature">
257
- <span class="method-name">df</span><span class="method-args">()</span>
258
- </a>
259
- </div>
260
-
261
- <div class="method-description">
262
- <p><a class="source-toggle" href="#"
263
- onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
264
- <div class="method-source-code" id="M000007-source">
265
- <pre>
266
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 35</span>
267
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">df</span>
268
-
269
- <span class="ruby-keyword kw">end</span>
270
- </pre>
271
- </div>
272
- </div>
273
- </div>
274
-
275
- <div id="method-M000008" class="method-detail">
276
- <a name="M000008"></a>
277
-
278
- <div class="method-heading">
279
- <a href="#M000008" class="method-signature">
280
- <span class="method-name">du</span><span class="method-args">()</span>
281
- </a>
282
- </div>
283
-
284
- <div class="method-description">
285
- <p><a class="source-toggle" href="#"
286
- onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
287
- <div class="method-source-code" id="M000008-source">
288
- <pre>
289
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 39</span>
290
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">du</span>
291
-
292
- <span class="ruby-keyword kw">end</span>
293
- </pre>
294
- </div>
295
- </div>
296
- </div>
297
-
298
- <div id="method-M000009" class="method-detail">
299
- <a name="M000009"></a>
300
-
301
- <div class="method-heading">
302
- <a href="#M000009" class="method-signature">
303
- <span class="method-name">kill</span><span class="method-args">()</span>
304
- </a>
305
- </div>
306
-
307
- <div class="method-description">
308
- <p><a class="source-toggle" href="#"
309
- onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
310
- <div class="method-source-code" id="M000009-source">
311
- <pre>
312
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 43</span>
313
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">kill</span>
314
- <span class="ruby-keyword kw">end</span>
315
- </pre>
316
- </div>
317
- </div>
318
- </div>
319
-
320
- <div id="method-M000001" class="method-detail">
321
- <a name="M000001"></a>
322
-
323
- <div class="method-heading">
324
- <a href="#M000001" class="method-signature">
325
- <span class="method-name">ls</span><span class="method-args">()</span>
326
- </a>
327
- </div>
328
-
329
- <div class="method-description">
330
- <p><a class="source-toggle" href="#"
331
- onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
332
- <div class="method-source-code" id="M000001-source">
333
- <pre>
334
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 2</span>
335
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">ls</span>
336
- <span class="ruby-identifier">system</span>(<span class="ruby-value str">&quot;ls&quot;</span>)
337
- <span class="ruby-keyword kw">end</span>
338
- </pre>
339
- </div>
340
- </div>
341
- </div>
342
-
343
- <div id="method-M000010" class="method-detail">
344
- <a name="M000010"></a>
345
-
346
- <div class="method-heading">
347
- <a href="#M000010" class="method-signature">
348
- <span class="method-name">mkdir</span><span class="method-args">()</span>
349
- </a>
350
- </div>
351
-
352
- <div class="method-description">
353
- <p><a class="source-toggle" href="#"
354
- onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
355
- <div class="method-source-code" id="M000010-source">
356
- <pre>
357
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 46</span>
358
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">mkdir</span>
359
- <span class="ruby-keyword kw">end</span>
360
- </pre>
361
- </div>
362
- </div>
363
- </div>
364
-
365
- <div id="method-M000011" class="method-detail">
366
- <a name="M000011"></a>
367
-
368
- <div class="method-heading">
369
- <a href="#M000011" class="method-signature">
370
- <span class="method-name">mv</span><span class="method-args">()</span>
371
- </a>
372
- </div>
373
-
374
- <div class="method-description">
375
- <p><a class="source-toggle" href="#"
376
- onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
377
- <div class="method-source-code" id="M000011-source">
378
- <pre>
379
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 49</span>
380
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">mv</span>
381
- <span class="ruby-keyword kw">end</span>
382
- </pre>
383
- </div>
384
- </div>
385
- </div>
386
-
387
- <div id="method-M000012" class="method-detail">
388
- <a name="M000012"></a>
389
-
390
- <div class="method-heading">
391
- <a href="#M000012" class="method-signature">
392
- <span class="method-name">passwd</span><span class="method-args">()</span>
393
- </a>
394
- </div>
395
-
396
- <div class="method-description">
397
- <p><a class="source-toggle" href="#"
398
- onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
399
- <div class="method-source-code" id="M000012-source">
400
- <pre>
401
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 52</span>
402
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">passwd</span>
403
- <span class="ruby-keyword kw">end</span>
404
- </pre>
405
- </div>
406
- </div>
407
- </div>
408
-
409
- <div id="method-M000013" class="method-detail">
410
- <a name="M000013"></a>
411
-
412
- <div class="method-heading">
413
- <a href="#M000013" class="method-signature">
414
- <span class="method-name">ps</span><span class="method-args">()</span>
415
- </a>
416
- </div>
417
-
418
- <div class="method-description">
419
- <p><a class="source-toggle" href="#"
420
- onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
421
- <div class="method-source-code" id="M000013-source">
422
- <pre>
423
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 55</span>
424
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">ps</span>
425
- <span class="ruby-keyword kw">end</span>
426
- </pre>
427
- </div>
428
- </div>
429
- </div>
430
-
431
- <div id="method-M000014" class="method-detail">
432
- <a name="M000014"></a>
433
-
434
- <div class="method-heading">
435
- <a href="#M000014" class="method-signature">
436
- <span class="method-name">pwd</span><span class="method-args">()</span>
437
- </a>
438
- </div>
439
-
440
- <div class="method-description">
441
- <p><a class="source-toggle" href="#"
442
- onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
443
- <div class="method-source-code" id="M000014-source">
444
- <pre>
445
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 58</span>
446
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">pwd</span>
447
- <span class="ruby-keyword kw">end</span>
448
- </pre>
449
- </div>
450
- </div>
451
- </div>
452
-
453
- <div id="method-M000015" class="method-detail">
454
- <a name="M000015"></a>
455
-
456
- <div class="method-heading">
457
- <a href="#M000015" class="method-signature">
458
- <span class="method-name">rm</span><span class="method-args">()</span>
459
- </a>
460
- </div>
461
-
462
- <div class="method-description">
463
- <p><a class="source-toggle" href="#"
464
- onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
465
- <div class="method-source-code" id="M000015-source">
466
- <pre>
467
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 61</span>
468
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rm</span>
469
- <span class="ruby-keyword kw">end</span>
470
- </pre>
471
- </div>
472
- </div>
473
- </div>
474
-
475
- <div id="method-M000016" class="method-detail">
476
- <a name="M000016"></a>
477
-
478
- <div class="method-heading">
479
- <a href="#M000016" class="method-signature">
480
- <span class="method-name">rmdir</span><span class="method-args">()</span>
481
- </a>
482
- </div>
483
-
484
- <div class="method-description">
485
- <p><a class="source-toggle" href="#"
486
- onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
487
- <div class="method-source-code" id="M000016-source">
488
- <pre>
489
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 64</span>
490
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rmdir</span>
491
- <span class="ruby-keyword kw">end</span>
492
- </pre>
493
- </div>
494
- </div>
495
- </div>
496
-
497
- <div id="method-M000017" class="method-detail">
498
- <a name="M000017"></a>
499
-
500
- <div class="method-heading">
501
- <a href="#M000017" class="method-signature">
502
- <span class="method-name">who</span><span class="method-args">()</span>
503
- </a>
504
- </div>
505
-
506
- <div class="method-description">
507
- <p><a class="source-toggle" href="#"
508
- onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
509
- <div class="method-source-code" id="M000017-source">
510
- <pre>
511
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 67</span>
512
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">who</span>
513
- <span class="ruby-keyword kw">end</span>
514
- </pre>
515
- </div>
516
- </div>
517
- </div>
518
-
519
- <div id="method-M000018" class="method-detail">
520
- <a name="M000018"></a>
521
-
522
- <div class="method-heading">
523
- <a href="#M000018" class="method-signature">
524
- <span class="method-name">whoami</span><span class="method-args">()</span>
525
- </a>
526
- </div>
527
-
528
- <div class="method-description">
529
- <p><a class="source-toggle" href="#"
530
- onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
531
- <div class="method-source-code" id="M000018-source">
532
- <pre>
533
- <span class="ruby-comment cmt"># File lib/linux-tools.rb, line 70</span>
534
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">whoami</span>
535
- <span class="ruby-keyword kw">end</span>
536
- </pre>
537
- </div>
538
- </div>
539
- </div>
540
-
541
-
542
- </div>
543
-
544
-
545
- </div>
546
-
547
-
548
- <div id="validator-badges">
549
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
550
- </div>
551
-
552
- </body>
553
- </html>