Original Java shell

If you have been exposed to Windows operating system, you should have a certain understanding of CMD in windows.

If you have been exposed to Linux operating system, you should have a certain understanding of Linux shell.

This article is talking about the shell in Linux. But this is my "shell" implemented in Java programming.

There are three functions:

1. Scan the file (filter the file), such as "C: \ \ GIF". The command is to find the file with suffix. GIF under Disk C and print it to the console.

2. Command: "CD C: \ \ users", print out all files under the path "C: \ \ users" and make statistics.

3. Command: "exit" to exit the system.

Let's first look at the structure of the project:

Effect of operation:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>