mirror of
				https://github.com/cheat/cheat.git
				synced 2025-11-04 07:45:28 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			312 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			312 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# To disable the terminal refresh when exiting
 | 
						|
less -X
 | 
						|
 | 
						|
# To save the contents to a file
 | 
						|
# Method 1 - Only works when the input is a pipe
 | 
						|
s <filename>
 | 
						|
 | 
						|
# Method 2 - This should work whether input is a pipe or an ordinary file.
 | 
						|
Type g or < (g or less-than) | $ (pipe then dollar) then cat > <filename> and Enter.
 |