/ Published in: Ruby
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 $listoffile = %x(ls | sort -n).split("\n")
Comments
                    Subscribe to comments
                
                