Javascript Implementation of a Linux Terminal.
- Description: Lists files and directories in the current directory.
- Usage:
ls
- Description: Changes the current working directory.
- Usage:
cd
orcd <directory>
- Examples:
cd
: Changes to the home directory~/
.cd folder1
: Changes to the directory~/folder1
.
- Description: Prints the specified message to the console.
- Usage:
echo <message>
- Examples:
echo hello
: Printshello
.echo about.txt
: Prints the contents ofabout.txt
.
- Description: Displays system information in a stylised format.
- Usage:
neofetch
- Description: Displays a list of available commands.
- Usage:
help
- Description: Prints the current working directory.
- Usage:
pwd
- Description: Creates a new directory.
- Usage:
mkdir <directory>
- Description: Creates a new file.
- Usage:
touch <filename>
- Description: Clears the console output.
- Usage:
clear
Here are some features that are currently being worked on or planned for future development:
- Command History Navigation: Allow users to navigate through previously entered commands using the up and down arrow keys.
- Directory Structure Management: Implement a more complex directory structure with nested folders and files.
- File Content Viewing: Add commands like
cat
to view the contents of files directly in the terminal. - File Editing: Enable simple file editing capabilities within the terminal.
- Autocomplete: Implement autocomplete functionality for commands and file names.
- Persistent File System: Save the state of the file system so it persists across sessions.
- User Customisation: Allow users to customise the appearance and behaviour of the terminal.