lib/linux-tools.rb in linux-tools-0.2.1 vs lib/linux-tools.rb in linux-tools-0.3.0
- old
+ new
@@ -54,28 +54,38 @@
mdir=gets
system("mkdir "+mdir)
end
def self.mv
+ puts"move from source to destination"
+ sdir=gets
+ ddir=gets
+ system("mv "+sdir+" "+ddir)
end
def self.passwd
+ system("passwd "+gets)
end
-
def self.ps
+ system("ps ")
end
def self.pwd
+ system("pwd")
end
def self.rm
+ system("rm "+gets)
end
def self.rmdir
+ system("rmdir "+gets)
end
def self.who
+ system("who")
end
def self.whoami
+ system("whoami")
end
end