{"id":13672675,"url":"https://github.com/geekcomputers/Shell","last_synced_at":"2025-04-27T22:32:34.932Z","repository":{"id":2403543,"uuid":"3370841","full_name":"geekcomputers/Shell","owner":"geekcomputers","description":"Some of the handy shell scripts I have created/acquired","archived":false,"fork":false,"pushed_at":"2024-11-01T19:14:35.000Z","size":47,"stargazers_count":283,"open_issues_count":0,"forks_count":159,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-04-08T11:14:17.166Z","etag":null,"topics":[],"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/geekcomputers.png","metadata":{"files":{"readme":"README","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":"2012-02-06T20:48:56.000Z","updated_at":"2025-04-06T12:52:54.000Z","dependencies_parsed_at":"2024-11-16T23:02:52.939Z","dependency_job_id":"719cd6ed-7c6c-44cf-a37d-b6065e9bd7b5","html_url":"https://github.com/geekcomputers/Shell","commit_stats":{"total_commits":56,"total_committers":7,"mean_commits":8.0,"dds":0.1607142857142857,"last_synced_commit":"2fc503b371892546e21dae5f99afeecbb491800a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcomputers%2FShell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcomputers%2FShell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcomputers%2FShell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcomputers%2FShell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekcomputers","download_url":"https://codeload.github.com/geekcomputers/Shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251219600,"owners_count":21554444,"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":[],"created_at":"2024-08-02T09:01:43.923Z","updated_at":"2025-04-27T22:32:32.897Z","avatar_url":"https://github.com/geekcomputers.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"Here is a detailed information about the scripts I have written.  I do not consider myself a programmer, I create these little programs as experiments to have a play with the language, or to solve a problem for myself.  I would gladly accept pointers from others to improve the code and make it more efficient, or simplify the code.  If you would like to make any comments then please feel free to email me at craig@geekcomputers.co.uk.\n\nIn the scripts the comments etc are lined up correctly when they are viewed in Notepad++ or vi. This is what I use to code Shell scripts.\n\narch_check.ksh - This script checks the archive location for any log files that have not yet been compressed and compresses them.\n\nbackup.ksh - Backup script for root disk\n\nbatch_file_rename.sh - This will batch rename all files from one extension to another\n\ncheck_alert_log.sh - Start/stop the perl script to monitor the Oracle Alert Log\n\ncheck_oracle.ksh - This script checks the pmon and the listener processes are running on the server\n\ncoalesce.ksh - This script gets the list of the tablespaces within the database and then coalesces them\n\ncreate_me.ksh - I use this to create me on new Solaris builds\n\ncurrent_users.ksh - This will gather information about the users that are currently attached to the database.\n\nexp_using_pipes.ksh - An example of running an export, compressing on the fly using a pipe\n\nhomedir_backup.ksh - Backs up the user that is running the script home directory, and copy it to another machine\n\nkill_oracle.sh - This will kill all the oracle processes associated with a given sid\n\nlast_5_mins.sh - Captures just the last five minutes of a given logfile\n\nloginlog.ksh - This creates the file which tracks failed login attempts after five failed attempts\n\nmodified_today.sh - Lists all the files that have been modified that day \n\nmonitor_slice.ksh - Shows the slice, as well as the GB of space used, as well as the space left, it will loop round and round until you cancel it running\n\nmyping.sh - Prefixes the ping command with a date stamp, you then prove when it was run, works on Solaris and Linux\n\nmysql_backup.sh - Backup MySQL database, either the full database or just a single database\n\nnddchecker.ksh - Get Network Card information on Solaris\n\nnetwork.ksh - Get Network Information\n\nnewuser.ksh - A simple script to create a new OS account\n\noracle_connections.sh - This will show all of the client connections to the database\n\nrename_files.sh - This will rename all of the files in a directory by removing the word you pass to it\n\nshow_eri.sh - Get network information for eri cards\n\nshow_hme.sh - Get network information for hme cards\n\ntest_network.ksh - A quick network test to test the network\n\ntransfer_script.sh - This will send a given script to a certain server once prompted, if it can't find the script it searches for scripts with a similar name\n\nunix_users_to_sql.ksh - Export UNIX users to sql, you can change the last line if you want the output to go to a file, rather than be inserted straight into the database\n\nvosstat.sh - Gather OS statistics to place in to the database\n\nworld_writable.ksh - Gather OS statistics to place in to the database\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcomputers%2FShell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekcomputers%2FShell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcomputers%2FShell/lists"}