Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yyomna-mmaged/command-line-interpreter
Command Line Interpreter by Java
https://github.com/yyomna-mmaged/command-line-interpreter
command-line-interpreter java operating-system
Last synced: 28 days ago
JSON representation
Command Line Interpreter by Java
- Host: GitHub
- URL: https://github.com/yyomna-mmaged/command-line-interpreter
- Owner: YYomna-MMaged
- Created: 2024-11-06T15:33:40.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-28T20:23:27.000Z (about 1 month ago)
- Last Synced: 2024-11-28T21:25:56.042Z (about 1 month ago)
- Topics: command-line-interpreter, java, operating-system
- Language: Java
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Command Line Interpreter (CLI) Project
## Overview
The Command Line Interpreter (CLI) is a Java-based tool designed to mimic shell functionality. It allows users to interact with the file system, manage files, and process text via commands.---
## Features
### Directory and File Commands
- **`pwd`**: Prints the current working directory.
- **`cd `**: Changes the working directory to ``.
- **`ls`**: Lists non-hidden files in alphabetical order.
- **`ls-a`**: Lists all files (including hidden).
- **`ls-r`**: Lists non-hidden files in reverse order.
- **`mkdir `**: Creates one or more directories named ``, ``.
- **`rmdir `**: Removes one or more empty directories.
- **`touch `**: Creates an empty file.
- **`rm `**: Deletes a file.
- **`mv `**: Moves or renames a file.### Text Processing Commands
- **`cat `**: Displays file contents.
- **`>`**: Overwrites a file.
- **`>>`**: Appends content to a file.
- **`sort `**: Sorts file contents.
- **`uniq`**: Removes duplicate lines from sorted input.### Advanced Features
- **Piping (`|`)**: Combines commands for advanced functionality.