Skip to main content

A command line tool to perform custom tasks.

Project description

linux-command

CI PyPI GitHub stars

linux-command provides a single cmd entrypoint for common Linux tasks. It keeps commands short, consistent, and easy to remember.

Why linux-command

Linux commands are powerful but easy to forget, especially for archives and process checks. linux-command lowers the mental load with a unified syntax that reads like the task itself. For example, cmd tar <source> <output.tar> means “pack <source> into <output.tar>,” no long flags to recall.

Installation

To install the package, run the following command:

pip install linux-command

Install From Source (Development)

If you want to develop or modify the tool locally:

git clone https://github.com/MouxiaoHuang/linux-command.git
cd linux-command
pip install -e .

Usage

Once installed, run commands with cmd <command> [args...].

  • cmd -h / cmd --help lists all available commands.
  • cmd <command> -h shows usage and examples for a specific command.

Quick examples:

cmd tar ./src out.tar.gz
cmd untar archive.tar.gz ./out
cmd ps-grep python

Before vs cmd:

tar -czvf out.tar.gz ./src        ->  cmd tar ./src out.tar.gz
tar -xzvf archive.tar.gz -C ./out ->  cmd untar archive.tar.gz ./out
ps aux | grep python              ->  cmd ps-grep python

Full command list, examples, and aliases live in USAGE.md.

Contributing

We welcome contributions from the community! If you'd like to help improve linux-command, feel free to report issues or submit pull requests.

Guidelines for Contributors

  • Follow the existing coding style where possible.
  • Make sure your changes do not break existing functionality.
  • Before submitting a major feature, it’s often a good idea to first discuss it by opening an issue.

Thank you!

Thank you for your interest in contributing to linux-command! Your contributions are greatly appreciated and help make this tool better for everyone. For any questions or to get started, feel free to reach out or open an issue.


License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linux_command-0.3.2.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linux_command-0.3.2-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file linux_command-0.3.2.tar.gz.

File metadata

  • Download URL: linux_command-0.3.2.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for linux_command-0.3.2.tar.gz
Algorithm Hash digest
SHA256 7c7661091a32eeb66bebe8a9c03f2a4d3eabb5999af70d3ccd5bd3b21706e155
MD5 c6a17477ba4000908fc566c64031863b
BLAKE2b-256 b4684ed84f2ff99c0a8ec56c25cccc32ddd3d44e5cb8d1089f20ce791401dca4

See more details on using hashes here.

File details

Details for the file linux_command-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: linux_command-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for linux_command-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d17320da9d2db3bbb0fed2626a1055d34f764ad3bcb1ee0d29728473fbd255ff
MD5 387efcce604adda5128de6173fa6f411
BLAKE2b-256 4479537538fab56357de4d291c3100b4a4998f81ce76a9c2863446ee8d1b1120

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page