scoporscopor.me·Dec 2, 2024Linux grep 命令不完全指南1. 基本语法 1.1 命令格式 grep [选项] 模式 文件 1.2 基础示例 # 基本文件搜索 grep "error" log.txt # 通过管道搜索 cat file.txt | grep "pattern" # 通过echo搜索 echo "hello world" | grep "hello" 2. 选项参数 2.1 匹配控制 忽略大小写 (-i, --ignore-case) # 忽略大小写搜索错误信息 grep -i "Error" log.txt # 搜索所有日志...45 readsLinux
Krishnat Ramchandra Hogalekrish27.hashnode.dev·Nov 14, 2024Mastering Linux Commands: sudoers, Shell Scripting, and Text Processing with awk, grep, and sedLinux offers powerful tools for system administration, shell scripting, and text processing, making it a versatile operating system for both developers and system administrators. This blog will guide you through advanced Linux commands and scripting ...Linux
Amitabh soniamitabhdevops.hashnode.dev·Nov 2, 2024GREP and AWK: Essential Techniques for Log File AnalysisExploring Log Files with Bash: Practical Command Guide for DevOps Hey DevOps enthusiasts! 👋 In today’s post, I’m diving into some practical Bash commands for managing log files, inspired by my learnings in DevOps Batch 8 led by Shubham Londhe. These...10 likes·52 readsDevops
Amitabh soniamitabhdevops.hashnode.dev·Nov 1, 2024Linux Advanced ConceptsLecture-07 : Linux Advanced of DevOps batch-8 In this blog, we’ll dive into advanced Linux concepts, covering user management, file permissions, SSH, SCP, software installation, and practical usage of commands like grep, awk, sed, and find. This know...1 like·52 readsDeveloper
Aditya Gadhaveadityag7678.hashnode.dev·Oct 23, 2024How to Use Grep, Awk, Sed, and Find Commands in LinuxThe grep command is one of the most powerful and widely used command-line tools in Unix/Linux for searching text. It allows you to search for specific patterns within files or input streams, using regular expressions for more complex searches. The ...Linux
Divya K Nairday-4-basic-linux-shell-scripting.hashnode.dev·Oct 15, 2024Day 3-Advanced linux commandsAdvanced Linux Commands Why you cannot access /root directory and how to access root directory? /root is the home directory of root user.Bydefault only root user has access to this directory when you are loggedin as regular user,even if you can acces...#SSH INTO YOUR LINUX VIRTUAL MACHINE
Bilalbilalansari.hashnode.dev·Sep 9, 2024Pattern SearchingGREP stands for Global Regular Expression Print / Pattern. It helps us to find the pattern through different ways. a)Currently I am in /home/ubuntu. Consider there is a file testing.txt inside ubuntu directory. I am adding the content We are learning...grep
Paminda Kalpa Wickramasinghepamindatechtalks.hashnode.dev·Sep 9, 2024grep: A DevOps and Cloud Engineer's Helper to Text SearchSo here comes the grep (aka global regular expression print) the powerful command line tool that searches for patterns in text files. It's an essential tool for DevOps and Cloud Engineers, as it helps you to: Search for specific text patterns in fil...terminal
Asfaq Leeonleeonscoding.hashnode.dev·Aug 22, 2024Searching text content using linux commandSometimes we need to search text in log files or command outputs. For example, you may need to search error in production server's log files. Typically those log files size are huge and text editor's can't handle it even if the computer has a standar...Linux
Dhruv Rajvanshidhruv-blogs.hashnode.dev·Jul 31, 2024Day-3 | Linux Advanced | Part-2Hello, tech enthusiasts! 🌟 Welcome back to Day 3 of my DevOps learning journey! Today, we're diving deeper into the world of Linux, focusing on log file analysis and powerful text-processing commands. These tools are essential for filtering, searchi...10 likeslinux for beginners