Search Results

Search: Posts Made By: sinjin
6,089
Posted By sinjin
It means that executing/choosing that option...
It means that executing/choosing that option quits the connection to the Unix server, closes the command prompt window, and returns the user to the Windows desktop.
6,089
Posted By sinjin
Gee, thanks for the input robs.
Gee, thanks for the input robs.
6,089
Posted By sinjin
Porter, This is great! I am making...
Porter,

This is great! I am making significant progress. Here is the new code:

#!/bin/sh

while true; do
cat <<ENDINPUT

Menu of Options

1. Display all files in a user's home...
6,089
Posted By sinjin
Porter, Well, I made the switch to /bin/sh...
Porter,

Well, I made the switch to /bin/sh as you recommended. Sorry, I didn't see that earlier or wasn't paying attention. I am now able to execute options 2 and 3. However, when I enter 1 or...
6,089
Posted By sinjin
#!/bin/csh cat <<ENDINPUT Menu of...
#!/bin/csh

cat <<ENDINPUT

Menu of Options

1. Display all files in a user's home directory
2. Welcome yourself to the program
3. Display System Information
4. Exit back to Windows
...
6,089
Posted By sinjin
AIX lc3bd1 3 4 00016D4F4C00
AIX lc3bd1 3 4 00016D4F4C00
6,089
Posted By sinjin
I put in the while statement and it's now telling...
I put in the while statement and it's now telling me the following:

while: Expression Syntax

Now it won't even bring up the menu.
6,089
Posted By sinjin
I'm not using Solaris 9. I'm just using plain,...
I'm not using Solaris 9. I'm just using plain, ol' Unix from what I know. I'm still getting the error message that option is an undefined variable.
6,089
Posted By sinjin
Porter, Okay, ignore my last post. I didn't...
Porter,

Okay, ignore my last post. I didn't see the second part of your response. What exactly do you mean by "put it around the /cat/read/case stuff"? I'm lost.
6,089
Posted By sinjin
That didn't change anything. I'm still getting...
That didn't change anything. I'm still getting the message that "option" is an undefined variable. I'm ready to pull my hair out.
6,089
Posted By sinjin
Desperate for help with menu coding
I am extremely desperate for help with this menu coding problem I'm having. Whenver I go to execute my script file, I keep getting an error message that says the following:

option: Undefined...
1,896
Posted By sinjin
Script file menus and coding
I am very new to Unix and don't know much about it. I've been trying to create a menu and what I don't understand is how to execute a command once a user makes a selection. I have the menu set up. In...
2,304
Posted By sinjin
Simple Menu and coding
I am very new to Unix and don't know much about it. I've been trying to create a menu and what I don't understand is how to execute a command once a user makes a selection. I have the menu set up. ...
8,100
Posted By sinjin
Porter, I'm starting to understand this a...
Porter,

I'm starting to understand this a little better. In option 1, I, or whoever is using the program, has to enter a user's name and have their home directory displayed. If no user name is...
8,100
Posted By sinjin
Porter, thanks for the info. However, I don't...
Porter, thanks for the info. However, I don't understand how when a person presses "1", "2", etc. that it will execute the proper command. In your post, does "option1" refer to the person pressing...
8,100
Posted By sinjin
Creating menus in script file
I'm very new to Unix and know the simplest of its commands. I am trying to write a script file that has a menu with the following options showing:

1) Display all files in a user's home directory....
3,608
Posted By sinjin
Need help with script for menu
I'm working on a script for a basic menu with four options. The first option for the menu asks a user to put in anyone's user name and is supposed to display the user's home directory. If a user...
9,564
Posted By sinjin
I was wrong...
Robs,

Please ignore that last post. I tried echo and it worked. I must've done something wrong the first time I tried it. Now it's on to doing the code. I'll keep this thread going with the...
9,564
Posted By sinjin
Follow up...
Robs,

Echo produces the same result:

Echo: command not found
9,564
Posted By sinjin
Okay...
Robs,

Thanks again. I'm now able to get the menu to display and I'm starting to slowly understand what you're posting. However, after the second "endinput", I have print -n "Please make a...
9,564
Posted By sinjin
Confused
Robs,

Thank you for the reply, but I'm still confused after reading it. For example, I have no idea what the "cat << ENDINPUT" means. What do "sun," "ansi," and "wyse50" have to do with...
9,564
Posted By sinjin
Creating a menu within a script file
I am very new to Unix and know the basic commands. I have to write a script file and I'm completely lost. The script file is to show the following at the beginning:

Menu of Options

1. Display...
Showing results 1 to 22 of 22

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