{"id":18020998,"url":"https://github.com/Tedezed/linux-command-tools","last_synced_at":"2025-08-17T23:32:05.436Z","repository":{"id":45572469,"uuid":"302289585","full_name":"Tedezed/linux-command-tools","owner":"Tedezed","description":"Linux Command Tools 🔥🐧🔥","archived":false,"fork":false,"pushed_at":"2025-05-13T06:06:51.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T07:23:25.901Z","etag":null,"topics":["devops","devops-tool","docker-tool","kubernetes-tool","linux","linux-shell","shell-script","shell-tool"],"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/Tedezed.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":"2020-10-08T09:20:35.000Z","updated_at":"2025-05-13T06:06:55.000Z","dependencies_parsed_at":"2023-11-09T13:39:45.843Z","dependency_job_id":"b99fef7a-e9e4-4c92-befb-bb7e20463d41","html_url":"https://github.com/Tedezed/linux-command-tools","commit_stats":null,"previous_names":["tedezed/linux-command-tools"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tedezed/linux-command-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tedezed%2Flinux-command-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tedezed%2Flinux-command-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tedezed%2Flinux-command-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tedezed%2Flinux-command-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tedezed","download_url":"https://codeload.github.com/Tedezed/linux-command-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tedezed%2Flinux-command-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270922504,"owners_count":24668567,"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-08-17T02:00:09.016Z","response_time":129,"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":["devops","devops-tool","docker-tool","kubernetes-tool","linux","linux-shell","shell-script","shell-tool"],"created_at":"2024-10-30T06:08:29.632Z","updated_at":"2025-08-17T23:32:05.419Z","avatar_url":"https://github.com/Tedezed.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Command Tools\n\n- Install: `sudo cp -r */* /usr/bin/`\n\n## Kubernetes\n\n#### kall\n\nExecute one command in all context.\n\n```\n$ kall get pod -n dev \n[gke_xxxxxxxxxxx]\nNAME               READY   STATUS    RESTARTS   AGE\npod-xxxxxxxxxxxx   1/1     Running   0          15m\n\n[aks_xxxxxxxxxxx]\nNAME               READY   STATUS    RESTARTS   AGE\npod-xxxxxxxxxxxx   1/1     Running   0          15m\n\n[eks_xxxxxxxxxxx]\nNAME               READY   STATUS    RESTARTS   AGE\npod-xxxxxxxxxxxx   1/1     Running   0          15m\n```\n\n#### kcontext\n\nKubernetes context selector.\n\n```\n$ kcontext \nCurrent: gke_xxxxxxxxxxx\n\nList of contexts:\n[0] gke_xxxxxxxxxxx\n[1] aks_xxxxxxxxxxx\n[2] eks_xxxxxxxxxxx\n\nContext number to switch: \n```\n\n#### kdelforce\n\nForce delete all pods in a namespace.\n\n#### kexec\n\nForce connect to a pod with root user or connect to node pool with option `--ssh`.\n\n#### kndefault\n\nChange default namespace.\n\n#### kscale\n\nEasy scaling control of everything in a namespace.\n```\n$ kscale deploy dev 0\n[INFO] Scale deploy deploy-nginx-1 to 0\n[INFO] Scale deploy deploy-nginx-2 to 0\n[INFO] Scale deploy deploy-nginx-3 to 0\n[INFO] Scale deploy deploy-nginx-4 to 0\n```\n\n#### ksecret\n\nShow the contents of secrets with base64 decode.\n\n## Utilities\n\n#### killgrep\n\nKill with name not PID.\n\n```\n$ ps -aux | grep terminator\nubuntu    8443  0.0  0.4 434654 238349 ?        Sl   01:30   0:04 /usr/bin/python3 /usr/bin/terminator\nubuntu   34555  0.0  0.0  0349  993944 pts/1    S+   11:33   0:00 grep --color=auto terminator\n\n$ killgrep terminator\n```\n\n#### outputlog\n\nEasy format for log in your scripts.\n\n```\n$ outputlog \"INFO\" \"This is a example\"\n2002-10-19 01:08:37 [INFO] This is a example\n```\n\n#### pomodoro\n\nSimple pomodoro timmer your shell.\n\n```\n$ pomodoro 1\nPomodoro start: 1 minutes\n  Time left: (\\) 0:59\n```\n\n#### tarparts\n\nScript for compress one path in multiple files tar.gz in multi-threaded mode.\n\n```\n# Example: Compress in three files with name testfile the directory testdir\n$ tarparts 3 /home/testdir testfile\n```\n\n#### trycommand\n\nExecute a command and if it fails retry it a number of times.\n\n```\n$ trycommand -s 2 -t 3 -c \"psql -h 192.168.1.5 -U tedezed -d animals\"\npsql: error: could not connect to server: No route to host\n        Is the server running on host \"192.168.1.5\" and accepting\n        TCP/IP connections on port 5432?\npsql: error: could not connect to server: No route to host\n        Is the server running on host \"192.168.1.5\" and accepting\n        TCP/IP connections on port 5432?\npsql: error: could not connect to server: No route to host\n        Is the server running on host \"192.168.1.5\" and accepting\n        TCP/IP connections on port 5432?\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTedezed%2Flinux-command-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTedezed%2Flinux-command-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTedezed%2Flinux-command-tools/lists"}