I'm not sure what you want - it looks like you want the default case to open the browser - default is the choice of the user.
Question: the user enters the number 3. The case statement will execute the code block for 3.
So, the user's choice gets taken correctly, correct?
If the user enters 67- which is not in the list - then the default case statement will execute. Right?
So what is your your request for default? I do not understand. You could add echo 'none of these' as a choice.
When the user selects 'none', then the case *) statement executes and you get the extra choice:
Plus some of your characters render as a British pound sign on my screen: (pound)INTERNET WEBSITE(pound) so I'm not sure what that means in your code....
Hi,
I have 6 servers, I want to make a script to read the messages (/var/adm/messages) file daily in the morning and send it automatically to my E-mail address.
Regards (2 Replies)
Hi there:)
Because of security requirements, It would be much better if I could truncate my logs in place using sed -i (or ?). I cant use the -i option on sed in my environment.
Can anyone help a DBA? (5 Replies)
Is in Unix a tool that could do this:
paste -d":" 'file1' 'file2' | special_save "file1" # so that file1 would be treated in a way that would prevent problems with race condition
I know it normally doesn't work but is there any intelligent way how to avoid using temporary file? I know methods... (6 Replies)
Dear Gurus,
I need you to advice or suggestion about the best solution to copy data around 200-300G from serverA(location A) to serverB(location B). Normally, I will share folder and then copy but it takes too long time(about 2 days).
Do you have any suggestion or which way should be... (9 Replies)
Hi,
I want to open a pdf file in my PCLinuxOS, but when I click on the PDF file to open it, a message box prompts asking for Open With : KGhostView ; Save File....etc.
So the default pdf genereator to open is set to KGhostView. How do I change the default to KPdf, another pdf generator..
... (3 Replies)
Hello, I am using tcsh on AIX.
I would like to write a script that does the following:
1. given an inode, how do I find exactly the name of the file?
I know I could do this using ls -i | grep <inode>
but it returns: <inode> <filename>. I need some string manipulation or something to... (1 Reply)
Hi,
I am trying to write a shell script that will take the log files from a single folder (all ending with .log), put them into an archive, use something to encrypt the file, and then emailx to email the resulting encrypted archive to me.
Of course, I am open to suggestions on how to improve... (1 Reply)
I have to check a directory on Linux (via shell Script which I am trying to build) for about 20 different source files with file patterns and if the files are made available in the directory, I should place flag files for which my other ETL jobs are waiting on to kick off. If the source files are... (6 Replies)
Hi All,
Daily I am getting the updated file.
I have to search for this file in all directories and sub directories.
If the file existed in a particular directory then move this updated file to that particular directory.
If the file is not existed in any of the directories then place this... (4 Replies)