From c8bcd52d9e8b9027569a8a9e5f5a9ff51729b4c0 Mon Sep 17 00:00:00 2001 From: Michael Schlapa Date: Mon, 7 Feb 2022 14:30:03 +0100 Subject: [PATCH] Added diff git-style with color --- linux/shell_commands.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/linux/shell_commands.md b/linux/shell_commands.md index 0a9e958..4f4b359 100644 --- a/linux/shell_commands.md +++ b/linux/shell_commands.md @@ -8,4 +8,12 @@ pv --rate-limit 1M /dev/null' ## Scripted creation of partitions -Link: https://wiki.ubuntuusers.de/gdisk/#sgdisk \ No newline at end of file +Link: https://wiki.ubuntuusers.de/gdisk/#sgdisk + +## diff git-style with color + +``` +diff --color -u file1 file2 +``` + +(Source: [StackOverflow](https://stackoverflow.com/a/4857407))