Homework task

I missed some lessons and I have no idea how to do my homework. Can someone help me with this task?

Task 2: Terminal master

Write a shell (terminal or cmd script) which:

displays the "Hello world" message
creates new folder named "create_me"
renames the "create_me" folder to "delete_me"
deletes the "delete_me" folder
displays the username which is currently logged in on the computer
displays the internet stats menu
exits the shell
This one is a little bit more hardcore. You're going to need some additional materials.

In order to make make the script you will need text editor to write the commands in a file. And what about saving it?

Windows users should save it with ".cmd" extension
Linux users don't need to add a specific extension. But when the file is saved they have to open the terminal, get to the folder where the file is being stored and do as follows (assuming that the file is name "script"):

chmod 700 script
This will make the script an executable file and now we can start it by typing the next command in the terminal:

./script

closed account (48T7M4Gy)
Can someone help?

www.do_my_homework_for_me.org
That's one of 10 so you are not doing my homework, just part of it :) and if you don't have anything nice to say, just don't bother answering.
closed account (48T7M4Gy)
www.there_are_no_second_prizes.net
Topic archived. No new replies allowed.