Releases: andreas-agouridis/linuxcmd
Releases · andreas-agouridis/linuxcmd
Release list
v2.0
Linux Terminal Simulator for Windows v2.1
What's New in v2.1
New Features
- Tab autocomplete for commands and filenames (press Tab)
- Command history (Up/Down arrows) with persistent storage
- New commands:
alias- Create command shortcutshistory- View command historychmod- Basic permission simulationwc- Word count functionality
- Improved sudo:
- 5-minute timeout
- Configurable password policy
- Enhanced prompt:
- Color-coded by user (green for normal, red for root)
- Git branch detection when in repositories
Improved Commands
lsnow supports:- Color output
- Basic
-l,-a,-hflags
grepenhanced with:-i(ignore case)-v(invert match)
psnow shows:- Better formatted output
- Memory usage percentages
Bug Fixes
- Fixed path handling with spaces
- Resolved sudo password echo issue
- Improved command argument parsing
v1.0
A Windows batch file that simulates a Linux command-line environment without requiring any additional installations like WSL.
Features ✨
- 🚀 No installation required - Runs on native Windows CMD
- 💻 Linux-like experience - Simulates common Linux commands
- 📋 Interactive prompt - Clean interface with customizable settings
- ❓ Built-in help system - Type
helpto see available commands - 🔄 Common Linux commands implemented with Windows equivalents
Supported Commands 🛠️
| Command | Description | Windows Equivalent |
|---|---|---|
clear |
Clears the screen | cls |
ls |
List directory contents (basic) | dir /b |
ll |
List directory contents (detailed) | dir |
pwd |
Print working directory | cd |
whoami |
Display current user | %USERNAME% |
date |
Show current date/time | %DATE% %TIME% |
echo |
Display message | echo |
ipconfig |
Network configuration | ipconfig |
netstat |
Network statistics | netstat -ano |
ps |
Process status | tasklist |
mkdir |
Create new directory | mkdir |
rmdir |
Remove directory | rmdir |
cat |
Display file content | type |
ver |
Show system version | systeminfo |
exit |
Quit the simulator | exit |
Installation ⚙️
No installation required! Simply:
- Copy the batch file code
- Save it as
linux_cmd.bat - Double-click to run
Usage 🖥️
LinuxSim$ ls
LinuxSim$ mkdir test
LinuxSim$ ll
LinuxSim$ cat readme.txt
LinuxSim$ exitCustomization 🎨
You can customize these settings at the top of the batch file:
set PROMPT_COLOR=0A (Color code for the prompt)
set PROMPT_TEXT=LinuxSim$ (Your custom prompt text)
set VERSION=1.2 (Version number)Limitations ⚠️
- This is a simulation using Windows commands
- Not all Linux commands are available
- Some commands behave differently than in real Linux
- No actual Linux environment is running
Contributing 🤝
Contributions are welcome! Please open an issue or pull request for:
- New command implementations
- Bug fixes
- Feature suggestions
License 📄
This project is licensed under the MIT License - see the LICENSE file for details.