{"id":20548177,"url":"https://github.com/kh-suleiman99/system-information-bash-script-and-others","last_synced_at":"2026-05-10T05:09:40.083Z","repository":{"id":240638813,"uuid":"803162503","full_name":"kh-Suleiman99/System-Information-bash-script-and-others","owner":"kh-Suleiman99","description":"Some of simple Bash scripts, I wrote them while studying The Linux command line reference.","archived":false,"fork":false,"pushed_at":"2024-05-20T08:23:29.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T16:24:04.817Z","etag":null,"topics":["bash-script","linux","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/kh-Suleiman99.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-20T07:31:54.000Z","updated_at":"2024-05-20T08:25:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5532327-c539-4192-906a-430ab8c9cce1","html_url":"https://github.com/kh-Suleiman99/System-Information-bash-script-and-others","commit_stats":null,"previous_names":["kh-suleiman99/system-information-bash-script-and-others"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh-Suleiman99%2FSystem-Information-bash-script-and-others","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh-Suleiman99%2FSystem-Information-bash-script-and-others/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh-Suleiman99%2FSystem-Information-bash-script-and-others/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh-Suleiman99%2FSystem-Information-bash-script-and-others/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kh-Suleiman99","download_url":"https://codeload.github.com/kh-Suleiman99/System-Information-bash-script-and-others/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242151921,"owners_count":20080196,"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","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-script","linux","shell"],"created_at":"2024-11-16T02:12:28.832Z","updated_at":"2026-05-10T05:09:40.057Z","avatar_url":"https://github.com/kh-Suleiman99.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# System-Information-bash-script-and-others\nThis repository contains Some of simple Bash scripts, I wrote them while studying The Linux command line reference. \n# Table of Contents\n* [Hello World](#hello_world.sh)\n* [File Status](#file_status.sh)\n* [Hours](#hours.sh)\n* [System Information](#sys_info.sh)\n* [Trap Demo](#trap_demo.sh)\n\n# Hello World\nThis is our first script\n\n**Example Usage:**\n```shell\n$ ./hello_world.sh \"\nHello,  World\n```\n\n# File Status\na script that Evaluate the status of a file. It demonstrates some of the file expressions.\n\n**Example Usage:**\n```shell\n$ ./file_status.sh \"\nEnter the file name: /home/khaled\n/home/khaled is a directory.\n/home/khaled is readable.\n/home/khaled is writable.\n/home/khaled is executable/searchable.\n```\n\n# Hours\nscript to count files by modification time.\n\n**Example Usage:**\n```shell\n$ ./hours.sh /bin \"\nHour    Files   Hour    Files\n====    =====   ====    =====\n00      39      12      54\n01      28      13      36\n02      70      14      103\n03      10      15      110\n04      3       16      162\n05      12      17      187\n06      2       18      102\n07      9       19      57\n08      30      20      143\n09      16      21      118\n10      8       22      100\n11      118     23      49\n=============================\n\nTotal files = 1566\n```\n\n# System Information\nProgram to output system information to an html page.\n\n**Example Usage:**\n```shell\n$ sudo ./sys_info.sh -f sys_info_page.html \"\n```\n\n# Trap Demo\nsimple signal handling demo. will execute an echo command each time either the SIGINT or SIGTERM signal is received while the script is running.\n\n**Example Usage:**\n```shell\n$ ./trap_demo.sh \nIteration 1 of 5\n^C\nI am ignoring you.\nIteration 2 of 5\nIteration 3 of 5\n^C\nI am ignoring you.\nIteration 4 of 5\nIteration 5 of 5\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkh-suleiman99%2Fsystem-information-bash-script-and-others","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkh-suleiman99%2Fsystem-information-bash-script-and-others","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkh-suleiman99%2Fsystem-information-bash-script-and-others/lists"}