From 09e1ad278b3a868b3cda77c09b0da31f4e8fbdb7 Mon Sep 17 00:00:00 2001 From: Fanny Wegner <fwegner@imm.uzh.ch> Date: Wed, 22 Mar 2023 09:51:16 +0100 Subject: [PATCH] Update file UNIX_HPC_cheat_sheet.md --- exercises/UNIX_HPC_cheat_sheet.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exercises/UNIX_HPC_cheat_sheet.md b/exercises/UNIX_HPC_cheat_sheet.md index 6898541..0986e81 100644 --- a/exercises/UNIX_HPC_cheat_sheet.md +++ b/exercises/UNIX_HPC_cheat_sheet.md @@ -44,6 +44,7 @@ wc foo.txt # List number of lines, words and characters in the file wc -l foo.txt # Counts the lines cut -d [delimiter] -f [field] foo.txt # Cuts out the specified fields that are separated by the specified delimiter out of each line of a file touch foo.txt # Create empty file if it does not exist or change "modified by" date of existing file +grep pattern foo.txt # search for pattern in file ``` ## Input and Output -- GitLab