Project Overview
Part of the Fundamentals section of Coddy's Terminal journey — lesson 48 of 82.
Challenge
EasyLet's start by getting familiar with the log file you'll be analyzing throughout this project.
You'll be working with a file called server.log that contains entries like this:
2024-01-15 08:23:41 INFO User login successful
2024-01-15 08:24:12 ERROR Database connection failed
2024-01-15 08:25:03 WARNING Disk space low
2024-01-15 08:26:55 INFO File uploaded
2024-01-15 08:27:30 ERROR Authentication timeoutUse cat to display the entire contents of server.log.
Note: This file contains 10 log entries with different log levels (INFO, ERROR, WARNING). In the upcoming lessons, you'll filter, count, and analyze these entries using pipes and text processing commands.
Try it yourself
All lessons in Fundamentals
4Directories
Create A DirectoryCopy A DirectoryMove And Rename A DirectoryDelete A DirectoryRecap - Directory Operations7File Content
Head And TailWord CountSort CommandUnique CommandGrep BasicsGrep With FlagsRecap - Text Detective10Log Analyzer Project
Project OverviewViewing The Log File2Navigation
Print Working DirectoryList FilesChange DirectoryAbsolute vs Relative PathsHome And Root DirectoryRecap - Find Your Way8Redirection
Standard OutputOverwrite To A FileAppend To A FileStandard InputStandard ErrorRecap - Log Builder6Wildcards And Patterns
The Star WildcardThe Question Mark WildcardBracket WildcardsCombining WildcardsRecap - Selective Operations9Piping
What Is A PipeChaining Two CommandsChaining Multiple CommandsPipe With GrepRecap - Data Pipeline