10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to have the user select two files from a numbered list which will eventually be turned into a variable then combined. This is probably something simple and stupid that I am doing.
echo "Please Select the Show interface status file"
select FILE1 in *;
echo "Please Select the... (3 Replies)
Discussion started by: dis0wned
2. Shell Programming and Scripting
$ cat test1.txt
$ cat test2.txt
$ cat test3.txt
man:hot:cold (5 Replies)
Discussion started by: Jewel
3. Shell Programming and Scripting
I have a text file in this format
Question no: 1
A. Answer 1
B. Answer 2
C. Answer 3
D. Answer 4
Question no: 2
The question? (choose 2) (10 Replies)
Discussion started by: zorrox
4. Shell Programming and Scripting
I have about 6000 files of the following format (three simplified examples shown; actual files have variable numbers of columns, but the same number of lines). I would like to concatenate the ID (*Loc*) and data lines, but not the others, as shown below. The result would be one large file (or... (3 Replies)
Discussion started by: pathunkathunk
5. Shell Programming and Scripting
I copied the below program to play around with displaying a list of items using the select command in ksh. When I put all items in the same line, it works fine. I am trying to use multiple lines instead of a single row...my list is too large for a single line. How do I get the line continuation... (3 Replies)
Discussion started by: haganator
6. Shell Programming and Scripting
i have a requirement where i need to connect sqlplus from unix and i am able to do so by following command:
cust_count=`sqlplus -s $ORACLE_USER/$ORACLE_PASS@$ORACLE_SID << EOF
set pagesize 0
set feedback off
set verify off
... (1 Reply)
Discussion started by: lovelysethii
7. Shell Programming and Scripting
PS3="Enter corresponding number and hit enter:"
select DIR in `cat mylist` QUIT
echo "INVALID INPUT"
if ; then
my commands .....
The above will return something like below :
Select from the list of... (4 Replies)
Discussion started by: ningy
8. UNIX for Dummies Questions & Answers
How do I create a script that provides a count of distinct values of a particular field in a file utilizing commonly available UNIX commands (sh or awk)?
For... (2 Replies)
Discussion started by: Refresher
9. Shell Programming and Scripting
I'm developing a deployment script at work and at one point it would need to display something like this:
Which version of ADMIN would you like to deploy?
1) 1.0.0 (store1, 10 Jan 2004)
2) 1.0.1 (store1, 20 Jun 2004)
3) 1.0.2 (store1, 15 Jul 2004)
Select a version :
I know... (5 Replies)
Discussion started by: domivv
10. UNIX for Dummies Questions & Answers
I have a UNIX daemon process that's been started by a parent process, an application server.
The behavior of this daemon process is to inherit and use the app
server's file descriptors (ports/sockets).
When I shutdown the app server, the daemon continues to run, because there may be other... (1 Reply)
Discussion started by: kunalashar