Search Results

Search: Posts Made By: Jagst3r21
7,056
Posted By Jagst3r21
I stripped it down to this: # Use of a case...
I stripped it down to this:

# Use of a case statement to offer a 5 item menu
echo " Menu\n
1. Copy a file to a designated directory\n
5. Quit to Unix\nEnter your option #: \c"

read choice...
7,056
Posted By Jagst3r21
I think I just have to move done above choice 5? ...
I think I just have to move done above choice 5?

And the double quotes should just be regular ones like this " - unless they should be something else altogether?
7,056
Posted By Jagst3r21
How does this look thus far: # Use of a case...
How does this look thus far:

# Use of a case statement to offer a 5 item men
echo “ Menu\n
1. Copy a file to a designated directory\n
2. Check whether a specified user is logged in\n
3....
7,056
Posted By Jagst3r21
Thanks, I understand about the case and I will...
Thanks, I understand about the case and I will fix that, but what about making the program more portable?

How would I make it so the user has to input the option for things so its not hard coded?...
7,056
Posted By Jagst3r21
Shell scripting/menu
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

Write a...
3,174
Posted By Jagst3r21
Can I just use the cp command to copy from my...
Can I just use the cp command to copy from my directory to the new user's profile or is there a better way?
3,174
Posted By Jagst3r21
System Admin. Lab
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

Create a...
3,560
Posted By Jagst3r21
It was exists not exit :) I am having a tough...
It was exists not exit :) I am having a tough time with this, any other advice anyone?
14,050
Posted By Jagst3r21
Cool he said if / else is fine.
Cool he said if / else is fine.
14,050
Posted By Jagst3r21
I have been trying to replicate this with a case...
I have been trying to replicate this with a case statement because I am not sure which way he wants this. He has an example of creating a menu in our powerpoint slides, so he might want us to do it...
14,050
Posted By Jagst3r21
I understand that the case statement will be...
I understand that the case statement will be cleaner, but is this not valid? (e.g. does it accomplish what my teacher wants)?
14,050
Posted By Jagst3r21
Telephone book script
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

Hi, here is...
3,560
Posted By Jagst3r21
Shell scripting/working with a file
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

1. Write a...
6,350
Posted By Jagst3r21
I know, I updated it so it is after the last name...
I know, I updated it so it is after the last name there is a tab. I'm just wondering what the tab does :)



Here are the commands that are relevant for this lab from the slide for this chapter:...
6,350
Posted By Jagst3r21
You're right, thanks. I just thought it might be...
You're right, thanks. I just thought it might be a colon, but it's not. A few things:

1) Why would adding the tab after the lastname matter though?

2) Is my solution to part d correct, or is...
6,350
Posted By Jagst3r21
Small Grading Program
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

1. Create a...
5,438
Posted By Jagst3r21
Oh, -n is for numeric values. So would it just be...
Oh, -n is for numeric values. So would it just be sort | who

And yes I can use Putty to connect to the school server, but only myself and the server admin are usually on, so not sure if it is...
5,438
Posted By Jagst3r21
Oh, sorry, it sounded like you were asking me...
Oh, sorry, it sounded like you were asking me what those things were because you didn't know (which you obviously do, so my apologies). I know that "Who" is a command that lists the users currently...
5,438
Posted By Jagst3r21
Sir, those are the assignment directions. I will...
Sir, those are the assignment directions. I will have to email my teacher I guess. The directions are shit.
5,438
Posted By Jagst3r21
Grep and Sort
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

1. Print the...
9,081
Posted By Jagst3r21
Creating a .profile, displaying system variables, and creating an alias
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

Here is what...
5,178
Posted By Jagst3r21
Thanks for the responses and tips. How come for...
Thanks for the responses and tips. How come for 2.3 I cannot enter another command? After I do fg %<job number for sleep 6000 here> I do not get the dollar sign back to proceed and do ctrl + z for...
5,178
Posted By Jagst3r21
Processes Lab
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

Here are my...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 08:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy