mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:02:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
	
		
			329 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
	
		
			329 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| diff - compare files line by line
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```**sh
 | |
| $ diff [files...]
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| Compare `files` line by line.
 | |
| 
 | |
| ## Arguments
 | |
| 
 | |
| * `files`: files to compare ex: `file1 file2`
 | |
| 
 | |
| ## Examples
 | |
| 
 | |
| ```sh
 | |
| # View differences in two files
 | |
| $ echo 123 > file1
 | |
| $ echo 456 > file2
 | |
| $ diff file1 file2
 | |
| 1c1
 | |
| < 123
 | |
| ---
 | |
| > 456
 | |
| ```
 | |
| 
 | 
