Skip to content

Releases: andreas-agouridis/linuxcmd

Release list

v2.0

Choose a tag to compare

@andreas-agouridis andreas-agouridis released this 18 May 16:53
2e3a05e

Linux Terminal Simulator for Windows v2.1

Windows Batch
MIT License
Release
Downloads

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 shortcuts
    • history - View command history
    • chmod - Basic permission simulation
    • wc - 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

  • ls now supports:
    • Color output
    • Basic -l, -a, -h flags
  • grep enhanced with:
    • -i (ignore case)
    • -v (invert match)
  • ps now 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

Choose a tag to compare

@andreas-agouridis andreas-agouridis released this 18 May 09:39
2af3afb

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 help to 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:

  1. Copy the batch file code
  2. Save it as linux_cmd.bat
  3. Double-click to run

Usage 🖥️

LinuxSim$ ls
LinuxSim$ mkdir test
LinuxSim$ ll
LinuxSim$ cat readme.txt
LinuxSim$ exit

Customization 🎨

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.