9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In below script parameterwhich i am passing to awk function is not working.Not sure why its not accepting parameter.Please tell me how to pass parameter to the awk function.Please check the below script.
#!/bin/ksh
dummy_file=/etlapps/dev/data/sub_servicer_data/ScriptLogs/emp.txt
fields=5... (2 Replies)
Discussion started by: katakamvivek
2 Replies
2. Shell Programming and Scripting
Hi friends,
I am very new to Unix scripting and having some difficulty in my first shell script.
I have written a simple shell script to upload an artifact to a remote machine on the network.
echo "Uploading the artifact"
scp app.war username@remotemochine.domainname.net:/home/deployables... (3 Replies)
Discussion started by: prashdeep
3 Replies
3. Shell Programming and Scripting
Hi I am trying to get my script to accept input regardless if the person enters a or A. here is the portion of the code where I get the input.
echo -n 'Please enter your choice:' # prompt user for input.
read reply # read input
echo
case $reply in #... (2 Replies)
Discussion started by: DualPandas
2 Replies
4. Shell Programming and Scripting
I'm doing a script where you are suppose to start off in accepting one or more directory as an argument. How do i do this?
Sorry for the nub question. (2 Replies)
Discussion started by: LinuxUser232331
2 Replies
5. Shell Programming and Scripting
Is there a way accept A-Za-z0-9 from the user from a parameter?
EX. I want to take the parameter from the user even if its hEu or H3y
and store it as a parameter ( $1 ) (18 Replies)
Discussion started by: puttster
18 Replies
6. Shell Programming and Scripting
Hi,
I need to create a script which checks the availability of a particular service on a particular Port on HP-Unix. Is there any command in unix wherein we can check if any port is accepting the connections now.
Thanks,
Vihang. (5 Replies)
Discussion started by: vikings.svnit
5 Replies
7. UNIX for Dummies Questions & Answers
I how do i accept a input date in script which is lesser than a specified day? ex: to accept a date less than or equal to 100 days(from today).?:(
Thanks for the help in advance.:) (1 Reply)
Discussion started by: abhi_123
1 Replies
8. Shell Programming and Scripting
Hi,
I am new to UNIX. I am facing some problem here.
#! /usr/bin/ksh
currDate = $1
export currDate;
echo " Date is $currDate"
when I run this script, it says : currDate not found.
Can anybody point out the mistake please.
--mahek (3 Replies)
Discussion started by: mahek_bedi
3 Replies
9. Shell Programming and Scripting
I'm just starting out with UNIX and have figured some stuff out. I just need some help with accepting user input on the command line. For instance, I created a number counter that counts down from any positive hard coded number. But, I want the commnad line line to read "Countdown 20" where 20... (1 Reply)
Discussion started by: scott78
1 Replies