A modified version of Linux shell with basic implementation and some new functionalities
- Copying and Pasting Multiple Files
- Simple Classification of Files
- Automation of File Trasfer Protocol
- Listing of files in a tree structure
-
Clone the repo using the command
Command :
git clone https://github.com/Hardik500/Shell-Remastered.git
-
Then in your terminal compile the
main.c
file using eithergcc
ormake
commandCommand :
gcc main.c -o main
-
Then run the program
Command :
./main
Note : Only Linux OS is supported
copy [file-name]
& paste
With the copy
command just enter the name of the files which you want to copy.
It can be a single file or a group of files.
Then go to a the directory on which you want to paste and enter the paste
command.
classify [file-name]
With the classify
command just enter the name of the files which you want to classify.
If the file content matches to that of the files (academic.txt, automobile.txt, finance.txt), then it will go to its corresponding folder automatically after running the command.
If the weights are equal then it will display "file cannot be classified".
eg. Try runing : classify demo_fc.txt
Note : Before running this command create three folders named: academic, automobile and financial in the root directory of the project
autoftp
Just run the autoftp
command and it will get the file for which the name you have set in the bash script i.e. f.sh
.
Warning: Before running this command modify the bash script according to your preference.
list [level]
With the list
command just enter the level to which you want to display the tree structure of the folder.