8000 GitHub - ersincebi/tinysh
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ersincebi/tinysh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinysh

tinysh is contains some of basic bash commads

Getting Started

• User should be able to enter commands with parameters, but there is no limitation of characters to be entered.

• tinysh executable in shell script which display tinysh > as its prompt. This might require to override the existing shell prompt.

• tinysh is prompt user with the following prompt when

• tinysh is read the data entered from standard input and parse it.

• tinysh is check, detect the command and its arguments.

• tinysh is warn the user about erroneous entry detected (unknown commands, commands with wrong/unsupported arguments, or commands without any mandatory arguments). In case of any erroneous entry, tinysh is display the syntax for the given command, if the given command is supported one but with wrong arguments. In case of any unsupported command, tinysh should display unknown command <first_word_given_by_user_as_command> (e.g. abc -f -t, unknown command abc).

• tinysh is support the following commands:

  • cd : changes the directory to the given path. Checks whether if the given path exists or not. Displays warning if not exists.

  • pwd: prints the current/working directory.

  • ls -la: lists the files in the current directory. -l stands for list style, -a stands for all files including hidden files and directories.

  • touch : creates the given file in the current directory. Checks if the given file exists. If exists, overrides it.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0