From c34b3cf691c5bad526fc2f05d4546a4b8871579f Mon Sep 17 00:00:00 2001 From: Ayush Singh Date: Thu, 1 Jan 2026 17:51:05 +0530 Subject: [PATCH 1/2] Add Linux Fundamentals Task1 submission for ayush2005k --- CONTRIBUTORS/ayush2005k/LINUX_FUNDAMENTALS/Task1.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 CONTRIBUTORS/ayush2005k/LINUX_FUNDAMENTALS/Task1.txt diff --git a/CONTRIBUTORS/ayush2005k/LINUX_FUNDAMENTALS/Task1.txt b/CONTRIBUTORS/ayush2005k/LINUX_FUNDAMENTALS/Task1.txt new file mode 100644 index 0000000..3217538 --- /dev/null +++ b/CONTRIBUTORS/ayush2005k/LINUX_FUNDAMENTALS/Task1.txt @@ -0,0 +1 @@ +https://drive.google.com/file/d/18lv5CypFaqlLeNKUrPDe3SfF__YuIjkt/view?usp=sharing \ No newline at end of file From a7a09d45194465dadef817005fa408f3a1540177 Mon Sep 17 00:00:00 2001 From: Ayush Singh Date: Thu, 1 Jan 2026 18:24:57 +0530 Subject: [PATCH 2/2] Add grep command documentation --- .../Commonly_used_commands/grep.txt | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/LINUX_FUNDAMENTALS/Commonly_used_commands/grep.txt b/LINUX_FUNDAMENTALS/Commonly_used_commands/grep.txt index 1a26084..e69de29 100644 --- a/LINUX_FUNDAMENTALS/Commonly_used_commands/grep.txt +++ b/LINUX_FUNDAMENTALS/Commonly_used_commands/grep.txt @@ -1,21 +0,0 @@ -Description -The grep command is basically a "search" tool for your terminal. It scans through files or lists to find lines that match the text you are looking for. Whether you are hunting for a specific error in a long log file or trying to find a piece of code in a big project, grep helps you find it instantly. - -Basic Syntax -grep [OPTIONS] "TEXT_TO_FIND" [FILE_NAME] - -Useful Flags -1. -i (Ignore Case) -This tells grep not to worry about capital letters. It will find "error", "Error", and "ERROR" all at the same time. Example: grep -i "failed" login.log - -2. -v (Invert Search) -This does the opposite of a normal search. It shows you everything EXCEPT the word you typed. It is perfect for hiding boring info messages so you can see the real problems. Example: grep -v "info" server.log - -3. -n (Show Line Numbers) -This puts the line number next to every result. It is very helpful when you need to know exactly where to go in a file to fix something. Example: grep -n "config_hidden" settings.conf - -4. -r (Search Everything) -This is the "recursive" flag. Instead of looking at just one file, it looks through every single file inside a folder and all its sub-folders. Example: grep -r "password" ./backup_folder - -5. -l (List Files Only) -If you don't care about seeing the actual text and just want to know WHICH files contain your word, use this. It only prints the filenames. Example: grep -l "TODO" ./source_code \ No newline at end of file