Using the unix command line tool less, how do I scroll horizontally? I need to scroll one (or a half) screen to the right or left
            Asked
            
        
        
            Active
            
        
            Viewed 4,606 times
        
    14
            
            
         
    
    
        Razzi Abuissa
        
- 3,337
- 2
- 28
- 29
 
    
    
        Rajeev
        
- 173
- 1
- 9
- 
                    5Try `less -S` for horizontal scrolling and scroll horizontally with the arrow keys. – Alper Jan 22 '15 at 11:03
- 
                    No need for option -S Horizontal scroll works (using cygwin) even without it – Rajeev Jan 22 '15 at 11:17
- 
                    4`-S` causes lines longer than the screen width to be chopped rather than folded. The default is to fold long lines; that is, display the remainder on the next line. Default could be chopped in your system, though. – Alper Jan 22 '15 at 11:31
- 
                    For horizontal scrolling , left arrow/right arrow would work (considering I understood your question) or do you wish to enable line wrap? – thepace Jan 22 '15 at 11:36
- 
                    No, the default is "Fold long lines" and not chopped - found this default value by using _S on less's "command prompt" – Rajeev Jan 22 '15 at 20:28
- 
                    You can use `less -SEX` (`S` for scrolling horizontaly, `E` to quit on the first EOF & `X` to disable first clear) – alexandre-rousseau Feb 28 '18 at 08:25
- 
                    Perhaps ask this question on the Super User Stack Exchange site – schuelermine Nov 28 '22 at 17:14