{"id":13602812,"url":"https://github.com/arshadkazmi42/ak-cli","last_synced_at":"2025-04-30T13:51:26.163Z","repository":{"id":33504969,"uuid":"158945856","full_name":"arshadkazmi42/ak-cli","owner":"arshadkazmi42","description":":bookmark: Collection of useful cli commands","archived":false,"fork":false,"pushed_at":"2023-03-25T19:58:43.000Z","size":10566,"stargazers_count":43,"open_issues_count":20,"forks_count":27,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T16:39:37.475Z","etag":null,"topics":["bash","cli-command","commands","docker","git","heroku","linux","mongo","python","shell","ssh","useful-commands","zip"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arshadkazmi42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"arshadkazmi42"}},"created_at":"2018-11-24T14:49:43.000Z","updated_at":"2024-09-20T05:04:21.000Z","dependencies_parsed_at":"2024-10-03T12:22:39.326Z","dependency_job_id":"95d47aa6-57d5-486d-a720-1ca78530543c","html_url":"https://github.com/arshadkazmi42/ak-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadkazmi42%2Fak-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadkazmi42%2Fak-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadkazmi42%2Fak-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshadkazmi42%2Fak-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arshadkazmi42","download_url":"https://codeload.github.com/arshadkazmi42/ak-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251714932,"owners_count":21631806,"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","cli-command","commands","docker","git","heroku","linux","mongo","python","shell","ssh","useful-commands","zip"],"created_at":"2024-08-01T18:01:38.743Z","updated_at":"2025-04-30T13:51:26.133Z","avatar_url":"https://github.com/arshadkazmi42.png","language":null,"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src='https://github.com/arshadkazmi42/ak-cli/blob/master/assets/akcli.png' height=\"80\"\u003e\n\nList of some daily used commands for tech geeks.\n\nGive us a :star: if you like our work :heart:\n  \n[![Github Repo Size](https://img.shields.io/github/repo-size/arshadkazmi42/ak-cli.svg)](https://github.com/arshadkazmi42/ak-cli)\n[![LICENSE](https://img.shields.io/github/license/arshadkazmi42/ak-cli.svg)](https://github.com/arshadkazmi42/ak-cli/LICENSE)\n[![Contributors](https://img.shields.io/github/contributors/arshadkazmi42/ak-cli.svg)](https://github.com/arshadkazmi42/ak-cli/graphs/contributors)\n[![Commit](https://img.shields.io/github/last-commit/arshadkazmi42/ak-cli.svg)](https://github.com/arshadkazmi42/ak-cli/commits/master)\n[![Issues](https://img.shields.io/github/issues/arshadkazmi42/ak-cli.svg)](https://github.com/arshadkazmi42/ak-cli/issues)\n[![Pull Requests](https://img.shields.io/github/issues-pr/arshadkazmi42/ak-cli.svg)](https://github.com/arshadkazmi42/ak-cli/pulls)\n\n\u003c/div\u003e\n\n## Contents\n\n- [Docker](#docker)\n- [Git](#git)\n- [Heroku](#heroku)\n- [Kafka](#kafka)\n- [Linux](#linux)\n- [Mongo](#mongo)\n- [NPM](#npm)\n- [PSQL](#psql)\n- [Python](#python)\n- [SCP](#scp)\n- [SSH](#ssh)\n- [tar](#tar)\n- [zip](#zip)\n- [pm2](#pm2)\n\n\n## Docker\n\n- [Build image](commands/docker/docker-build-image-with-dockerfile.md) - Build docker image using `Dockerfile`.\n- [Commit container](commands/docker/docker-container-commit.md) - Commit current state of docker container to save as a new image.\n- [Copy to container](commands/docker/docker-cp.md) - Copy file/directory to docker container.\n- [Copy from container](commands/docker/docker-cp-from-container.md) - Copy file/directory from docker container.\n- [Create and run mongo](commands/docker/docker-mongo-create.md) - Pull mongo docker image from docker registry and create \u0026 run mongo container.\n- [Create and run postgres](commands/docker/docker-postgres-create.md) - Pull postgres docker image from docker registry and create \u0026 run postgres container.\n- [Create and run redis](commands/docker/docker-redis-create.md) - Pull redis docker image from docker registry and create \u0026 run redis container.\n- [Create container](commands/docker/docker-container-create.md) - Create container using a docker image.\n- [Delete container](commands/docker/docker-container-rm.md) - Delete a stopped docker container.\n- [Delete image](commands/docker/docker-image-rm.md) - Delete an unused docker image.\n- [Get Container IP](commands/docker/docker-container-ip.md) - Get docker container's local IP Address.\n- [Import image](commands/docker/docker-import.md) - Import docker image from a tar ball package.\n- [Inspect Container](commands/docker/docker-inspect.md) - Inspect docker container to list down complete configuration.\n- [List Containers](commands/docker/docker-container-list.md) - List all the running \u0026 stopped containers\n- [List Images](commands/docker/docker-images-list.md) - List all the docker images available locally\n- [Load Saved Image](commands/docker/docker-load.md) - Load a docker image from a tar ball package.\n- [Login to container](commands/docker/docker-login.md) - Login to docker container bash.\n- [Login to docker registry](commands/docker/docker-registry-login.md) - Login to docker registry in local terminal.\n- [Push docker image](commands/docker/docker-push.md) - Push docker image to remote registry.\n- [Rename container](commands/docker/docker-rename.md) - Rename a running or stopped docker container\n- [Run docker container](commands/docker/docker-run.md) - Run a docker container using docker image id.\n- [Save docker image](commands/docker/docker-save.md) - Save a docker image into a tar package.\n- [Tail container logs](commands/docker/docker-logs-tail.md) - Tail running or stopped docker container logs.\n\n\n## GIT\n\n- [Clone repository](commands/git/git-clone-repo.md) - Clone a repository to any location.\n- [Cherry Pick Commit](commands/git/git-cherry-pick-commit.md) - Copy one commit from one branch to another\n- [Commit changes](commands/git/git-commit.md) - Commit the local changes.\n- [Configure Author](commands/git/git-name-email-config.md) - Configure author name and email.\n- [Configured Author](commands/git/git-name-email-config-check.md) - Check configured author name or email.\n- [Create branch](commands/git/git-new-branch.md) - Create a new branch.\n- [Delete branch](commands/git/git-delete-branch.md) - Delete a branch from remote git repository.\n- [Git RefLog](commands/git/git-reflog.md) - Gives the complete activity trace of the repository.\n- [Modify Commit](commands/git/git-commit-amend.md) - Modify last commit details (commit message, author...).\n- [Pull changes](commands/git/git-pull.md) - Pull remote changes to local repository.\n- [Push changes](commands/git/git-push.md) - Push changes from local respository to remote.\n- [RM Cached](commands/git/git-rm-cached.md) - Remove cached files which are added in .gitignore later.\n- [Reset File](commands/git/git-reset.md) - Reset committed changes of a file.\n- [Restore Branch](commands/git/git-restore-branch.md) - Restore a deleted branch.\n- [Status](commands/git/git-status.md) - Git status to check the file list in which changes are made.\n- [Stage](commands/git/git-stage.md) - Stage (add) the new changes done to commit those changes.\n- [Stash](commands/git/git-stash.md) - Stash all the current changes, pushes all the changes to stash stack and goes back to last commit.\n- [Stash File](commands/git/git-stash-file.md) - Stash a particular file, push changes done to a file into stash stack and goes back to last commit for that file.\n- [Stash List](commands/git/git-stash-list.md) - Check stash stack list.\n- [Stash Revert](commands/git/git-stash-revert.md) - Revert stashed changes from stash stack.\n- [Switch Branch](commands/git/git-switch-branch.md) - Switch current working branch.\n- [Squash Merge Branch](commands/git/git-squash-merge-branch.md) - Squash merge branch to master\n\n## Heroku\n\n- [List dynos](commands/heroku/heroku-ps.md) - List all the running dynos\n\n\n## Kafka\n\n- [Create Topic](commands/kafka/kafka.md) - Create a new topic in zookeeper to be used by Kafka.\n\n\n## Linux\n\n- [Clear Terminal](commands/linux/clear.md) - Clear current visible terminal.\n- [Get Flavor \u0026 Version](commands/linux/get-linux-flavor-version.md) - Get current running Linux OS flavor and version details.\n- [List contents of directory](commands/linux/list.md) - List all the contents of the current directory\n- [Search Application Process](commands/linux/search-application-process.md) - Search for running application process by name.\n- [Tail File](commands/linux/tail-one-file.md) - Live tail any file.\n- [Tail Multiple Files](commands/linux/tail-multiple-files.md) - Live tail multiple files in a directory.\n\n\n## Mongo\n\n- [Dump collection from MongoDB](commands/mongo/mongo-dump-collection.md) - Dump all the collections of all the databases from Mongo to a directory in JSON files.\n- [Dump database from MongoDB](commands/mongo/mongo-dump-database.md) - Dump all the collections of a single database from Mongo to specified location.\n- [Restore collection to MongoDB](commands/mongo/mongo-restore-collection.md) - Restore all database with all of its dumped collection from a specified location to Mongo.\n- [Restore database to MongoDB](commands/mongo/mongo-restore-database.md) - Restore a particular database and all of its collection from specified location to Mongo.\n\n\n## NPM\n\n- [Login](commands/npm/npm-login.md) - Login to NPM in your terminal.\n- [Init](commands/npm/npm-init.md) - Initialze a `npm` project.\n- [Publish](commands/npm/npm-publish.md) - Publish a package to npm repository.\n\n\n## PM2\n\n- [pm2 start](commands/pm2/pm2-start.md) - Start an application using pm2\n\n\n## PSQL\n\n- [Login to database](commands/psql/login-database.md) - Login to a database using username / password.\n- [Import Dump](commands/psql/import-dump.md) - Import SQL dump to a database in Postgres.\n- [Export Dump](commands/psql/export-dump.md) - Export a database to a SQL dump file.\n\n\n## Python\n\n- [Build python project](commands/python/python-build.md) - Build the python project to deploy on pypi.\n- [Python deploy to pypi](commands/python/python-deploy-pypi.md) - Deploy the build python project to pypi.\n\n\n## SCP\n\n- [Copy from local to server](commands/scp/scp-local-to-server.md) - Copy files from local system to remote server.\n- [Copy from server to local](commands/scp/scp-server-to-local.md) - Copy files from remote server to local system.\n\n\n## SSH\n\n- [Login Remote Server](commands/ssh/ssh-server.md) - Login into a remote server.\n\n\n## tar\n\n- [Tar Extract](commands/tar/extract.md) - Extract a tar package to specified location.\n\n\n## zip\n\n- [Zip directory](commands/zip/zip-command.md) - Pack a directory into a zip package.\n- [Zip directory Encryption](commands/zip/zip-command-encryption.md) - Pack a directory into a zip package with encryption.\n- [Unzip file](commands/zip/unzip-command.md) - Unzip a zip package to a specified location.\n\n# Contributing Guide\n\nInterested in contributing to this project, check some of our open issues [here](https://github.com/arshadkazmi42/ak-cli/issues).\n\nRead our contrubtion guide [here](CONTRIBUTING.md).\n\n# Help us\n\nWe would love to get some suggestions or feedbacks for this project.\n\nIf you have any suggestion about the project, let us know by adding a comment [here](https://github.com/arshadkazmi42/ak-cli/issues/39)\n","funding_links":["https://github.com/sponsors/arshadkazmi42"],"categories":["bash"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshadkazmi42%2Fak-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farshadkazmi42%2Fak-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshadkazmi42%2Fak-cli/lists"}