actually neither is necessary I just re-read the problem and it called for an executable file to be run everytime I log in so... my final code for the entire thing (without comments and some minor touch ups ) is:
echo Welcome to the
banner super script program!
echo This program will create 2...
I have something along those lines...
echo Press enter to continue.
read enter
echo The super script will now create a welcoming greeting for you for when you login.
echo It will also display the date and the current directory.
echo
echo The super script will now check if there is...
Thanks, that actually help me out alot... got the loop perfect... now onto the second part...
heres what I have currently
echo Welcome to the super script program!
echo This program will create 2 files of your choice, please enter the first choice:
read choice1
echo great! please enter...
you might be right... heres what I have... dont laugh also the alignment will be off:
echo Welcome to the super script program!
echo This program will create 2 files of your choice, please enter the first choice:
read choice1
echo great! please enter your second file name:
read choice2...
Generate a report that creates two files by asking the users to choose the file names. File one reports from the current state of your Unix box on how many login sessions are currently active, who are logged on (only the usernames), and your username. File two is executable and contains a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.