Skip to content

hrdkmishra/playserverless.jssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playserverless.jssh

jssh is a serverless, web-based playground that simulates a Linux-like command line interface. It allows users to interact with a virtual file system using common Linux commands. This project is designed to provide a fun and educational way to learn and practice Linux command-line operations.

jssh currently supports the following Linux commands:

  • cd - Change current directory
  • ls - List directory contents
  • pwd - Print working directory
  • mkdir - Create directories
  • touch - Create files
  • cp - Copy files or directories
  • mv - Move or rename files and directories
  • rm - Remove files or directories
  • cat - Concatenate files and print on the standard output
  • clear - Clear terminal screen
  • whoami - Print effective userid

features:

  • Arrow key Up and down through history
  • Tab key to auto-complete commands
  • nano - file editor
  • bat
  • pfetch - system info

file structure:

  • fileSystem.js - contains the file system
  • inputHadler.js - contains the handlers for each command
  • htmlTweaker.js - contains the functions that change the html
  • keywordCheck.js - contains all the keyword management
  • linuxCmd.js - contains the linux commands

Releases

No releases published

Packages

No packages published