Project2

command
v0.0.0-...-bde8a60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

README

ShweetShell

Sachet Neupane

sn0552

ShweetShell is a simple shell written in Go that supports various built-in commands.

Getting Started

To get started with ShweetShell, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Sachneu/4600Project2.git

Navigate to the project directory:

cd 4600Project2

After this go to Project2 directory

cd Project2

Run the code

go run main.go

Features

ShweetShell supports the following built-in commands:

cd: Change directory env: Display environment variables exit: Exit the shell

echo: Display arguments pwd: Print working directory mkdir: Create directories rmdir: Remove directories touch: Create empty files

Usage Once the shell is running, you can use the supported built-in commands as follows:

cd directory # Change to the specified directory

env # Display environment variables

exit # Exit the shell

echo message # Display the message

pwd # Print the current working directory

mkdir directory # Create a new directory

rmdir directory # Remove a directory

touch file # Create a new file

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL