Urgent
I have some taks that my job requires me to get the results and I would know if anyone can help me out. Preferably with each step.
How do I create a bash script that echoes each argument sent to it, no matter how many there might be. How do I create a bash script that prints the full name of the day of the week, such as "Friday" I tried to look at the command "date +%w" and the case statement but I'm confused. How do I create a bash script that asks the user to enter his name and then adds the current date and username to a log file on a single line (make sure you do not overwrite the file). How do I create a bash script that greets a user by his username (without prompting him) and then displays the contents of his home directory. Keep in mind that the user will run the script. |
Job?
Looks like homework to me ... |
OP, if you can't learn it for yourself then you won't get that job you're talking about. Instead of begging for homework help on the Internet, why don't you pay attention in class and spend more time in study? The experience you gain from struggling through those first few scripts on your own will benefit you far more than having the answers handed to you.
|
It looks like an interesting class. Where can I go to take that class?
I can help. The script starts with Code:
#!/bin/bash |
I guess using an Internet search engine is not allowed. :scratch:
|
Hi, and welcome to LQ!
While I won't do your homework for you, I will provide this post so you can check out the links in my sig. Perhaps they might be useful. Good Luck! Cheers |
All times are GMT -5. The time now is 12:20 PM. |