10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
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:
This is what is asked:
If the user enters ‘3’, prompt the user for two file names. Verify that the file names... (2 Replies)
Discussion started by: cindy01
2. Shell Programming and Scripting
I have a script that is called by /etc/init.d/S99oracle and the contents of this script are below.
$ cat ../init.d/oracle
### BEGIN INIT INFO
# Provides: oracle
# Required-Start: $ALL
# Default-Start: 3 5
# chkconfig: 35 99 10
# Description:... (7 Replies)
Discussion started by: welldone
3. Shell Programming and Scripting
I currently manager a cluster at work which is on a private network and i constantly need to ssh to other clients for diags e.t.c. I created a debain client which i use as my gateway to get to all the clients on the private network and I then created a Shell menu script which will make... (4 Replies)
Discussion started by: defamer
4. UNIX for Advanced & Expert Users
Using unix shell script file I need to telnet to a IP further send a command to the telnet IP and get the response to a file with out using "expect" utility and I have achieved this by below command.
(sleep 3; echo admin; sleep 3; echo mypass; sleep 5;echo "show status-list"; sleep 5; echo... (3 Replies)
Discussion started by: raghunath Rao
5. Shell Programming and Scripting
Help with case
Hello I need some help with case since most of the examples I found are related to a choice menus
I have 2 files (actually a lot of files with the specified prefix) in my dir e.g file1 & file2
I need to display:
case1:if file1 & file2 exist :file1_no=$(ll file1 |wc -l);... (2 Replies)
Discussion started by: drbiloukos
6. Shell Programming and Scripting
Is there a command that can switch a character variable from UPPER case to lower case?
foreach AC ( ABC BCD PLL QIO)
set ac `COMMAND($AC)`
Thanks a lot! (3 Replies)
Discussion started by: rockytodd
7. Shell Programming and Scripting
echo -e "Select: \c"
case $IN in
echo "Selected: $IN"
echo "Invalid selection: $IN"
# sh test
Invalid selection: 10
# sh test
Select: 2 (6 Replies)
Discussion started by: Ikon
8. Shell Programming and Scripting
I have written a shell script which will invoke perl script infinitly in the background in a loop. Code will do as:Within while loop, perl script will be run in background, get the pid and notify pid in though mail. then wait for pid to be completed before going for next iteration. I am... (1 Reply)
Discussion started by: jramesh1
9. Shell Programming and Scripting
New to this Unix dot com.
I would like to know how i can ignore the case in filename which is getting as user directoty to shell script.
Directory may contains more than 1 files as like
1. aa.csv or Aa.csv or AA.csv or aa.CSV
3. ... (3 Replies)
Discussion started by: AAH
10. UNIX for Dummies Questions & Answers
How can convert a Lower case variable value to an upper case in the kron shell script. (3 Replies)
Discussion started by: dchalavadi