{"id":20457901,"url":"https://github.com/estaheri7/easy_linux_cmds","last_synced_at":"2025-03-05T10:45:15.708Z","repository":{"id":209117020,"uuid":"721786250","full_name":"Estaheri7/Easy_Linux_Cmds","owner":"Estaheri7","description":"A collection of Linux commands for beginners, providing a handy reference and quick access to commonly used commands in a user-friendly format.","archived":false,"fork":false,"pushed_at":"2024-01-12T20:57:34.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T00:13:14.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Estaheri7.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-11-21T19:17:18.000Z","updated_at":"2023-11-21T19:55:11.000Z","dependencies_parsed_at":"2025-01-15T23:37:30.200Z","dependency_job_id":"22a4cf36-7603-4963-8d83-905d8cc1db33","html_url":"https://github.com/Estaheri7/Easy_Linux_Cmds","commit_stats":null,"previous_names":["estaheri7/easy_linux_cmds"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Estaheri7%2FEasy_Linux_Cmds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Estaheri7%2FEasy_Linux_Cmds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Estaheri7%2FEasy_Linux_Cmds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Estaheri7%2FEasy_Linux_Cmds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Estaheri7","download_url":"https://codeload.github.com/Estaheri7/Easy_Linux_Cmds/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242013791,"owners_count":20057869,"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-11-15T12:09:41.643Z","updated_at":"2025-03-05T10:45:15.677Z","avatar_url":"https://github.com/Estaheri7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Simple Commands\n\nA collection of simple Linux commands implemented in Python, providing basic functionalities to perform common file and directory operations through the command line interface.\n\n## Description\n\nThe Linux Simple Commands project aims to simplify and streamline common tasks performed in a Linux environment. It offers a set of command line options that allow users to interact with files and directories efficiently.\n\n## Features\n\n- List of files and directories in a selected path.\n- Change the current working directory.\n- Create new directories.\n- Remove empty directories.\n- Delete files.\n- Remove directories and their contents recursively.\n- Copy files or directories to a specified destination.\n- Move files or directories to a specified destination.\n- Search for files or directories by name.\n- Display the content of a file.\n- Find occurrences of a word pattern in a file.\n- Search files with a specified word pattern in a directory (including subdirectories).\n- Log executed commands and view command history.\n\n## Usage\n\nRun the linux_toolkit.py script using Python with the desired arguments:\n\n```bash\npython linux_toolkit.py --ls \npython linux_toolkit.py --cd \"AddressOfDirectory\"\npython linux_toolkit.py --mkdir \"DirectoryName\"\npython linux_toolkit.py --rmdir \"DirectoryName\"\npython linux_toolkit.py --rm \"FileName\"\npython linux_toolkit.py --rm-r \"FolderOrFileName\"\npython linux_toolkit.py --cat \"FileName\"\npython linux_toolkit.py --cd \"AddressOfDirectory\" --ls\npython linux_toolkit.py --cd \"AddressOfDirectory\" --mkdir \"DirectoryName\"\npython linux_toolkit.py --cd \"AddressOfDirectory\" --rmdir \"DirectoryName\"\npython linux_toolkit.py --cd \"AddressOfDirectory\" --rm \"FileName\"\npython linux_toolkit.py --cd \"AddressOfDirectory\" --rm-r \"FolderOrFileName\"\npython linux_toolkit.py --cd \"AddressOfDirectory\" --cat \"FileName\"\npython linux_toolkit.py --cp \"Source\" \"Destination\"\npython linux_toolkit.py --mv \"Source\" \"Destination\"\npython linux_toolkit.py --find \"Path\" \"Pattern\"\npython linux_toolkit.py --word-f \"FilePath\" \"Pattern\"\npython linux_toolkit.py --search-w \"Path\" \"Pattern\"\npython linux_toolkit.py --show-log\n```\n\n### Arguments\n\n- `--ls`: shows the files in selected path (can be used with `--cd`).\n- `--cd`: Changes directory to selected path.\n- `--mkdir`: Creates folder (can be used with `--cd`).\n- `--rmdir`: Deletes directory if it's empty (can be used with `--cd`).\n- `--rm`: Removes a file (can be used with `--cd`).\n- `--rm-r`: Removes directory and their contents (can be used with `--cd`)\n- `--cat`: Displays the content of a file (can be used with `--cd`).\n- `--cp`: Copies and pastes a file or directory from source path to destination path.\n- `--mv`: Moves a file or directory from source path to destination path.\n- `--find`: searchs for files or directories by name.\n- `--word-f`: Find occurrences of a word pattern in a file.\n- `--search-w`: Search files with a specified word pattern in a directory.\n- `--show-log`: view command history.\n\n## logs\n\nLogs of the executed commands are stored in `command.log`, with each entry timestamped.\n\n### Prerequisites\n\n- Python 3.x installed on your system\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festaheri7%2Feasy_linux_cmds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festaheri7%2Feasy_linux_cmds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festaheri7%2Feasy_linux_cmds/lists"}