/virtual_filesystem

implementing a virtual Linux file system using Scala, to Simulate Commands in Terminal

Primary LanguageScala

Virtual Linux File system To Simulate Commands in Terminal

Using Scala - Scala combines object-oriented and functional programming in one concise, high-level language.

Implemented features

  1. mkdir command (Creating Directories).
  2. touch command (Creating files).
  3. pwd command (printing current directory path).
  4. ls command (list contents of current directory).
  5. cd command (To change directories).

Feature Suggestions

  • rm command (Removing files and directories).
  • echo command (To display line of text/string that are passed as an argument).
  • cat command (To display file contents to a screen).
  • cp command (To copy files from the current directory to a different directory).
  • mv command (To move files)

Set up the Development Environment For The Project:

  1. Install jdk 8
  2. Install IntelliJ IDEA Community Edition
  3. Open IntelliJ and Navigate To: File --> Open Project --> virtual_filesystem
  4. Navigate to src --> com.scala --> filesystem folder
  5. Right-click Filesystem file --> Select Run
  6. Now you can play with the virtual linux file system in the terminal with the supported commands