{"id":22361370,"url":"https://github.com/kei-k23/practical-bash-scripts","last_synced_at":"2025-09-02T15:12:20.183Z","repository":{"id":241863074,"uuid":"808062630","full_name":"Kei-K23/practical-bash-scripts","owner":"Kei-K23","description":"This repo demonstrate the basic usage of bash scripting for all level of developers.","archived":false,"fork":false,"pushed_at":"2024-05-31T03:10:43.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T16:35:31.839Z","etag":null,"topics":["bash","bash-scripting","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kei-K23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security-log-analyzer-script/auth.log","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-30T10:00:15.000Z","updated_at":"2024-09-18T01:07:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2303514f-7bf5-45a2-a491-901a56b95a89","html_url":"https://github.com/Kei-K23/practical-bash-scripts","commit_stats":null,"previous_names":["kei-k23/practical-bash-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kei-K23/practical-bash-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fpractical-bash-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fpractical-bash-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fpractical-bash-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fpractical-bash-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kei-K23","download_url":"https://codeload.github.com/Kei-K23/practical-bash-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kei-K23%2Fpractical-bash-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273302113,"owners_count":25081151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-scripting","shell"],"created_at":"2024-12-04T16:29:27.974Z","updated_at":"2025-09-02T15:12:20.133Z","avatar_url":"https://github.com/Kei-K23.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Practical Bash Scripts\n\nThis repo demonstrate the basic usage of bash scripting for all level of developers. \n\n## Topics\n\n**`*.log` files log data can be different depending on your applications or servers**\n\n### Traffic Analysis Script:\n\nThis script could analyze access logs to identify:\nMost frequently accessed pages\nTop visitors/IP addresses\nHTTP response code distribution\nIt could generate a report summarizing this information and highlighting any anomalies.\n\n[Traffic Analysis Script](./traffic-analysis-script/script.sh)\n\n### Error Log Monitor Script:\n\nThis script could regularly check error logs for specific error patterns such as 404 errors, 500 errors, etc.\nIt could send email alerts to administrators when certain error thresholds are exceeded or when critical errors occur frequently.\n\n\n[Error Log Monitor Script](./error-log-monitor-script/script.sh)\n\n### Security Log Analyzer:\n\nThis script could parse security logs to detect and report suspicious activities like failed login attempts, unauthorized access attempts, etc.\nIt could generate reports on security incidents and identify potential security threats.\n\n[Security Log Analyzer](./security-log-analyzer-script/script.sh)\n\n\n### Bandwidth Usage Tracker:\n\nThis script could analyze access logs to calculate bandwidth usage for different resources (files, pages, etc.).\nIt could generate reports showing bandwidth consumption trends over time and identify potential hotspots or inefficiencies.\n\n\n### Performance Analysis Script:\n\nThis script could analyze access logs to measure website performance metrics like response times, server load, etc.\nIt could generate reports identifying performance bottlenecks and suggesting optimizations.\n\n\n### Log Rotation Script:\n\nThis script could automate the process of log rotation, compressing old log files, and archiving them.\nIt could also manage log file cleanup based on retention policies to prevent disk space issues.\n\n\n### Geolocation Script:\n\nThis script could analyze access logs to extract IP addresses and map them to geographical locations.\nIt could generate visualizations or reports showing the distribution of website visitors across different regions.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkei-k23%2Fpractical-bash-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkei-k23%2Fpractical-bash-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkei-k23%2Fpractical-bash-scripts/lists"}