Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- out = IO.popen( "lsblk -nr") do |io|
- io.each_line do |line|
- a = line.split(' ')
- puts a[0]
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement