Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. ubuntu@ip-172-31-10-58:~$ echo "This is the original file.
  2. > 1
  3. > 2
  4. > 3
  5. > 4
  6. > " > file1.txt
  7. ubuntu@ip-172-31-10-58:~$ echo "This is the next file.
  8. 1
  9. 2
  10. 5
  11. 4
  12. " > file2.txt
  13. ubuntu@ip-172-31-10-58:~$ diff -u file1.txt file2.txt
  14. --- file1.txt 2019-06-17 15:49:43.981475591 +0000
  15. +++ file2.txt 2019-06-17 15:50:08.997500866 +0000
  16. @@ -1,6 +1,6 @@
  17. -This is the original file.
  18. +This is the next file.
  19. 1
  20. 2
  21. -3
  22. +5
  23. 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement