linux-tools 0.2.0

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 (53) hide show
  1. data/.buildpath +5 -0
  2. data/.document +5 -0
  3. data/.project +17 -0
  4. data/.yardoc/checksums +1 -0
  5. data/.yardoc/objects/root.dat +0 -0
  6. data/.yardoc/proxy_types +2 -0
  7. data/Gemfile +13 -0
  8. data/Gemfile.lock +20 -0
  9. data/LICENSE.txt +20 -0
  10. data/README.rdoc +23 -0
  11. data/Rakefile +53 -0
  12. data/VERSION +1 -0
  13. data/coverage/index.html +106 -0
  14. data/coverage/jquery-1.3.2.min.js +19 -0
  15. data/coverage/jquery.tablesorter.min.js +15 -0
  16. data/coverage/lib-linux-tools_rb.html +495 -0
  17. data/coverage/print.css +12 -0
  18. data/coverage/rcov.js +42 -0
  19. data/coverage/screen.css +270 -0
  20. data/doc/Lt.html +1009 -0
  21. data/doc/_index.html +98 -0
  22. data/doc/class_list.html +36 -0
  23. data/doc/css/common.css +1 -0
  24. data/doc/css/full_list.css +53 -0
  25. data/doc/css/style.css +318 -0
  26. data/doc/file.LICENSE.html +73 -0
  27. data/doc/file.README.html +90 -0
  28. data/doc/file_list.html +41 -0
  29. data/doc/frames.html +13 -0
  30. data/doc/index.html +90 -0
  31. data/doc/js/app.js +203 -0
  32. data/doc/js/full_list.js +149 -0
  33. data/doc/js/jquery.js +16 -0
  34. data/doc/method_list.html +179 -0
  35. data/doc/top-level-namespace.html +88 -0
  36. data/lib/build +3 -0
  37. data/lib/linux-tools.rb +81 -0
  38. data/linux-tools.gemspec +104 -0
  39. data/pkg/linux-tools-0.0.0.gem +0 -0
  40. data/pkg/linux-tools-0.1.0.gem +0 -0
  41. data/pkg/lt-0.0.0.gem +0 -0
  42. data/rdoc/classes/Lt.html +553 -0
  43. data/rdoc/created.rid +1 -0
  44. data/rdoc/files/README_rdoc.html +141 -0
  45. data/rdoc/files/lib/linux-tools_rb.html +101 -0
  46. data/rdoc/fr_class_index.html +27 -0
  47. data/rdoc/fr_file_index.html +28 -0
  48. data/rdoc/fr_method_index.html +44 -0
  49. data/rdoc/index.html +24 -0
  50. data/rdoc/rdoc-style.css +208 -0
  51. data/test/helper.rb +18 -0
  52. data/test/test_linux-tools.rb +7 -0
  53. metadata +177 -0
@@ -0,0 +1,104 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{linux-tools}
8
+ s.version = "0.2.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Mrigesh Pokhrel"]
12
+ s.date = %q{2011-05-01}
13
+ s.description = %q{Common *NIX tools and commands which can be used easily in irb}
14
+ s.email = %q{mrigeshpokhrel@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".buildpath",
21
+ ".document",
22
+ ".project",
23
+ ".yardoc/checksums",
24
+ ".yardoc/objects/root.dat",
25
+ ".yardoc/proxy_types",
26
+ "Gemfile",
27
+ "Gemfile.lock",
28
+ "LICENSE.txt",
29
+ "README.rdoc",
30
+ "Rakefile",
31
+ "VERSION",
32
+ "coverage/index.html",
33
+ "coverage/jquery-1.3.2.min.js",
34
+ "coverage/jquery.tablesorter.min.js",
35
+ "coverage/lib-linux-tools_rb.html",
36
+ "coverage/print.css",
37
+ "coverage/rcov.js",
38
+ "coverage/screen.css",
39
+ "doc/Lt.html",
40
+ "doc/_index.html",
41
+ "doc/class_list.html",
42
+ "doc/css/common.css",
43
+ "doc/css/full_list.css",
44
+ "doc/css/style.css",
45
+ "doc/file.LICENSE.html",
46
+ "doc/file.README.html",
47
+ "doc/file_list.html",
48
+ "doc/frames.html",
49
+ "doc/index.html",
50
+ "doc/js/app.js",
51
+ "doc/js/full_list.js",
52
+ "doc/js/jquery.js",
53
+ "doc/method_list.html",
54
+ "doc/top-level-namespace.html",
55
+ "lib/build",
56
+ "lib/linux-tools.rb",
57
+ "linux-tools.gemspec",
58
+ "pkg/linux-tools-0.0.0.gem",
59
+ "pkg/linux-tools-0.1.0.gem",
60
+ "pkg/lt-0.0.0.gem",
61
+ "rdoc/classes/Lt.html",
62
+ "rdoc/created.rid",
63
+ "rdoc/files/README_rdoc.html",
64
+ "rdoc/files/lib/linux-tools_rb.html",
65
+ "rdoc/fr_class_index.html",
66
+ "rdoc/fr_file_index.html",
67
+ "rdoc/fr_method_index.html",
68
+ "rdoc/index.html",
69
+ "rdoc/rdoc-style.css",
70
+ "test/helper.rb",
71
+ "test/test_linux-tools.rb"
72
+ ]
73
+ s.homepage = %q{http://github.com/mrigesh/linux-tools}
74
+ s.licenses = ["MIT"]
75
+ s.require_paths = ["lib"]
76
+ s.rubygems_version = %q{1.7.2}
77
+ s.summary = %q{common *NIX tools in ruby}
78
+ s.test_files = [
79
+ "test/helper.rb",
80
+ "test/test_linux-tools.rb"
81
+ ]
82
+
83
+ if s.respond_to? :specification_version then
84
+ s.specification_version = 3
85
+
86
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
87
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
88
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
89
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
90
+ s.add_development_dependency(%q<rcov>, [">= 0"])
91
+ else
92
+ s.add_dependency(%q<shoulda>, [">= 0"])
93
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
94
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
95
+ s.add_dependency(%q<rcov>, [">= 0"])
96
+ end
97
+ else
98
+ s.add_dependency(%q<shoulda>, [">= 0"])
99
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
100
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
101
+ s.add_dependency(%q<rcov>, [">= 0"])
102
+ end
103
+ end
104
+
Binary file
Binary file
data/pkg/lt-0.0.0.gem ADDED
Binary file
@@ -0,0 +1,553 @@
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>