10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script which am trying to pass an argument which am trying to call using $1 but its not taking the value inside the if loop as it showing the error as if: Empty if..
Any help on this will be helpful.
if ('$1' == "pp")
echo "Printing $1"
endif (4 Replies)
Discussion started by: rogerben
2. UNIX for Dummies Questions & Answers
I have input file like
i was trying to retrieve data between two strings using sed.
sed -n /CCC/,/FFF/p input_file
Am getting output like
CCC (22 Replies)
Discussion started by: NareshN
3. Shell Programming and Scripting
I have a Filename as
I want to get the result as... (5 Replies)
Discussion started by: asheshrocky
4. Shell Programming and Scripting
I have 3 records in a oracle table... wen i connect to oracle from unix environment and query the table i get some errors...
the script i used is
g=`sqlplus -s "username/password" << EOF
select column from table;
The output i get... (1 Reply)
Discussion started by: cratercrabs
5. Shell Programming and Scripting
Hi there, if i had a file that looked like this
yellow (9 Replies)
Discussion started by: hcclnoodles
I am trying to get a small amount of files off of a SunBlade 2000 running SunOS 5.8, but I'm having trouble finding a medium that will actually work. It is not networked, and it doesn't have a writable CD drive. My only options seem to be floppy disk and USB drive. However, when I insert... (11 Replies)
Discussion started by: ryanm
7. UNIX for Dummies Questions & Answers
Can anyone tell how to list all files in current directory which has more than 0 bytes? (4 Replies)
Discussion started by: sri2005
8. UNIX for Dummies Questions & Answers
I have a data with 3 columns:
30 41 1
39 19 4
14 25 3
I want to retrieve any data in the first column that is greater 15. What is the best way to do this?
Thanks! (2 Replies)
Discussion started by: bobo
9. UNIX for Dummies Questions & Answers
Hi. I have a situation where I need to constantly read a command's output in order to loop through it to determine something that is happening over our system. The command td <filename> interactively prints 'filename' as text is written to it and this is redirected to standard output. I have been... (8 Replies)
Discussion started by: fidodido
instead of specifying the date manually in the list as below,
for dt in 010106 010206 010306 010406 010506 010606
here for example : 010106 - 1st jan 2006
how to retrieve the date of a week automatically and put in a loop?
is there any way to do?
thanks in advance. (1 Reply)
Discussion started by: sumi