{"id":16161433,"url":"https://github.com/gamemann/useful-linux-commands","last_synced_at":"2025-03-18T22:30:30.129Z","repository":{"id":169619638,"uuid":"629684904","full_name":"gamemann/Useful-Linux-Commands","owner":"gamemann","description":"Just a repository I'm using to store useful Linux commands to me and possibly others.","archived":false,"fork":false,"pushed_at":"2023-05-26T04:40:04.000Z","size":5,"stargazers_count":26,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T23:51:20.702Z","etag":null,"topics":["cheatsheet","commands","linux","sheet","useful"],"latest_commit_sha":null,"homepage":"","language":null,"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/gamemann.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":"2023-04-18T20:21:24.000Z","updated_at":"2025-03-12T07:04:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"a772a0eb-c428-47b9-83b0-2752d04f4cc6","html_url":"https://github.com/gamemann/Useful-Linux-Commands","commit_stats":null,"previous_names":["gamemann/useful-linux-commands"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FUseful-Linux-Commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FUseful-Linux-Commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FUseful-Linux-Commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FUseful-Linux-Commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamemann","download_url":"https://codeload.github.com/gamemann/Useful-Linux-Commands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244318096,"owners_count":20433834,"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":["cheatsheet","commands","linux","sheet","useful"],"created_at":"2024-10-10T02:25:15.010Z","updated_at":"2025-03-18T22:30:30.121Z","avatar_url":"https://github.com/gamemann.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Useful Linux Commands\nThis repository stores Linux commands I find very useful in my case. This may help others as well.\n\n## Kill Process By Port Number\nThis command kills a process bound to a specified port (`\u003cPORT\u003e`). It is recommended to run this command as root via `sudo`. \n\n```bash\nPORT=\u003cport\u003e\nkill $(sudo lsof -t -i:$PORT)\n```\n\n## Current CPU Clock Speed\nThis command outputs the current clock speed of each CPU in MHz and updates the output every second.\n\n```bash\nwatch -n 1 'cat /proc/cpuinfo | grep \"MHz\"'\n```\n\n## Kill All Processes Matching Process Name\nThis command kills all processes that matches a process name.\n\n```bash\nNAME=\"\"\nkill -9 $(pgrep -f $NAME)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2Fuseful-linux-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamemann%2Fuseful-linux-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2Fuseful-linux-commands/lists"}