Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-10-58:~$ echo "This is the original file.
- > 1
- > 2
- > 3
- > 4
- > " > file1.txt
- ubuntu@ip-172-31-10-58:~$ echo "This is the next file.
- 1
- 2
- 5
- 4
- " > file2.txt
- ubuntu@ip-172-31-10-58:~$ diff -u file1.txt file2.txt
- --- file1.txt 2019-06-17 15:49:43.981475591 +0000
- +++ file2.txt 2019-06-17 15:50:08.997500866 +0000
- @@ -1,6 +1,6 @@
- -This is the original file.
- +This is the next file.
- 1
- 2
- -3
- +5
- 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement