10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
My sheel script has below statement:
if; then
When I run iam getting the below error:
-bash: syntax error near unexpected token `then'
What is wrong with that statement:
Plz help me. (2 Replies)
Discussion started by: pradeep_script
2 Replies
2. Shell Programming and Scripting
I am trying to write a Korne Shell asking the user for a date and a directory and then search recursively in this directory the list of files modified after the date chosen. But I am not getting good results when I Test it...
#!/usr/bin/ksh
echo "Enter a date (YYYYMMDD) "
read date
touch -t... (2 Replies)
Discussion started by: marconi
2 Replies
3. Shell Programming and Scripting
In Korne Shell Scripting, how to search recursively in a directory, the list of files modified after a given date ..
Thanks in advance.. (1 Reply)
Discussion started by: marconi
1 Replies
4. Shell Programming and Scripting
I am new to Korne Shell Scripting. Can someone help me with a Korne Shell which asks the user :-
1) to enter the name of a file when searching it recursively (using the find
command) in the home directory of this user.
2) for a date (format AAMMJJ) and a directory and then searches ... (4 Replies)
Discussion started by: marconi
4 Replies
5. Shell Programming and Scripting
Hi,
I need some help regarding in writing a Korne shell script, in determining the fixed length records in a data file. We have already utility in place, which does this work. The Code for this is as below. In the below $1 is the parameter passed to the script, which is the data file name.
... (4 Replies)
Discussion started by: nrajesh_2009
4 Replies
6. Shell Programming and Scripting
hi,
can any one tell a solution for the following :
I want to append 10 spaces and a string say "ok" to 12 digit number which is stored in a varialbe & display using shell script. (1 Reply)
Discussion started by: Sandeep Kale
1 Replies
7. Shell Programming and Scripting
All
Please help to provide "goto" functionality in KORN shell script.
ex:
1: Command
Process some command
if check some variable
true
goto 1
else
process some other
Please help to implement this example in korne... (1 Reply)
Discussion started by: DeepakXavier
1 Replies
8. Shell Programming and Scripting
All
Iam using Korne shell in AIX OS. Can u give me the syntax to send a mail.
Thanx in advance
Regards
Deepak (5 Replies)
Discussion started by: DeepakXavier
5 Replies
9. Shell Programming and Scripting
Hi All,
I am not too familiar with Korne script so I need as much help as possible on this ;)
What I want to do is: from the excel file on my computer, I want to take certain field from this xls file and put it in txt or cvs format in specific width column. Then fpt this file into the server. ... (51 Replies)
Discussion started by: CamTu
51 Replies
10. UNIX for Dummies Questions & Answers
&& set -x && echo "enter tablespace_end_backup" >&2
Can you tell me what's mean above?
thanx (1 Reply)
Discussion started by: Lee
1 Replies