Sponsored Content
Full Discussion: Error in UNIX script
Top Forums Shell Programming and Scripting Error in UNIX script Post 302784839 by RudiC on Saturday 23rd of March 2013 07:24:42 AM
Old 03-23-2013
Line 114? Count the lines in your script, or use cat -n.

Did the script run correctly when distributed? Did you edit it?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error while trying to fire a PL/SQL thro Unix Script

hi , I tried running a PL/SQL script through unix shell script. But am getting the following error. "Message file sp1<lang>.msb not found Error 6 initializing SQL*Plus " Kindly suggest. Regards, Samit (5 Replies)
Discussion started by: dharmesht
5 Replies

2. UNIX for Dummies Questions & Answers

forcefully throwing error : unix script

how can i make one script fail if some condition is not satisfied.i m writing if ..else logic in script.i need some standard command to do that ,, (1 Reply)
Discussion started by: dr46014
1 Replies

3. Shell Programming and Scripting

Error in Unix Script

Hi! Following is the script to find the number of users and the total space consumed by them in the directory But I am getting few errors Pls help me data=`ls -lt $1 |tr -t |tr -s '\t'|cut -f3,5` count=0 flag=1 sum=0 users_flag=1 check=0 declare -a users for a in $data do (5 Replies)
Discussion started by: joyrules
5 Replies

4. Shell Programming and Scripting

Syntax Error in Unix Shell Script

I am trying to run a unix script in my home directory.Snippet below echo "`date '+%Y%m%d_%H%M%S'` Getting ProductList.dat" if ( -f $DIR/ProductList.dat) then cp $DIR/ProductList.dat MigratedProductList.dat else echo "`date '+%Y%m%d_%H%M%S'`ProductList.dat does not exist; Processing... (4 Replies)
Discussion started by: Mary James
4 Replies

5. Shell Programming and Scripting

UNIX Error in Script

When i run a script in linux. It shows the following error. 'icsftpagent.sh: line 114: syntax error near unexpected token ` 'icsftpagent.sh: line 114: `Nicsftp() My Script is as follows: #!/bin/bash #### Copyright Notice: #### #### Copyright (c) 2007 Network Intelligence Corporation ... (1 Reply)
Discussion started by: sourabh.chhabra
1 Replies

6. Shell Programming and Scripting

UNIX shell script error: not found

Hello All, I'm working on one Unix shell sript that will actually extract a column data from Oracle table using sqlplus and writes onto a file. I'm getting this error when executing the shell script: rpt.ksh: ^JScott: not found Below is the code in the shell script: `sqlplus -s... (1 Reply)
Discussion started by: venkat_reddy
1 Replies

7. Shell Programming and Scripting

Isql syntax error in UNIX script

Hello Everyone, Coming again for your help to solve the below error: In a script, i had created a temp table (Temp_table) and loaded the data in it using bcp command (performed successfully) and I wanted to move it to the preferred table (called Main_table) for further use. hence I have added... (1 Reply)
Discussion started by: Suresh
1 Replies

8. UNIX for Advanced & Expert Users

Isql and If Exist syntax error in UNIX script

Hello Everyone, Coming again for your help to solve the below error: In a script, i had created a temp table (Temp_table) and loaded the data in it using bcp command (performed successfully) and I wanted to move it to the preferred table (called Main_table) for further use. hence I have added... (7 Replies)
Discussion started by: Suresh
7 Replies

9. UNIX for Beginners Questions & Answers

UNIX script error message

Greeting!! I wrote the below script to e-mail me only file names in a specific directory when a file is delayed for some time in a that directory. I am getting unexpected eof error message. I don't want any email if the folder is blank.(if the condition is not met) I am not getting the email at... (4 Replies)
Discussion started by: Hope
4 Replies

10. UNIX for Beginners Questions & Answers

UNIX script error message

I have this UNIX script code with a query to export sql table in Oracle and export to csv file. The code gets the data correctly. However, when I run the script second time, I got the error message "not spooling currently" and shows the older data in csv file. When I delete the csv file and run... (5 Replies)
Discussion started by: Hope
5 Replies
0ALIAS(1)																 0ALIAS(1)

NAME
0alias -- create quick scripts to run 0launch SYNOPSIS
0alias ALIAS [INTERFACE [MAIN]] DESCRIPTION
Having to keep typing the full URI for a program each time you want to run it with 0launch is annoying. 0alias will create a little script in your PATH to do it for you. Note: the newer "0install add" command provides a more efficient alternative to using aliases. EXAMPLES
A program can be invoked using 0launch: 0launch http://rox.sourceforge.net/2005/interfaces/Edit To avoid having to keep entering the URI, create an alias: 0alias rox-edit http://rox.sourceforge.net/2005/interfaces/Edit To run Edit now: rox-edit To select a different version, or check for updates: 0alias rox-edit If an interface provides more than one program, you can specify which one to use instead of the default. e.g. 0alias svn http://example.com/subversion 0alias svnadmin http://example.com/subversion svnadmin (this is for older programs that use MAIN; for newer programs you may need to use --command instead) COMMAND-LINE OPTIONS -c=COMMAND, --command=COMMAND The generated script will execute COMMAND rather than the default ("run"). -d=DIR, --dir=DIR Install the script into directory DIR, rather than searching for a suitable directory in $PATH. -h, --help Show the built-in help text. -m, --manpage Display the manpage for the alias script given as the single argument. The alias can be an absolute pathname, or the name of a script in $PATH. If the argument isn't an alias script, or if multiple arguments are given, then all arguments are passed to the system 'man' command. This allows you to alias your man command like this: alias man='0alias --manpage' -r, --resolve Print the interface URI for the given alias script to stdout. -V, --version Display version information. LICENSE
Copyright (C) 2012 Thomas Leonard. You may redistribute copies of this program under the terms of the GNU Lesser General Public License. BUGS
Please report bugs to the developer mailing list: http://0install.net/support.html AUTHOR
The Zero Install Injector was created by Thomas Leonard. SEE ALSO
0install(1), 0launch(1), 0desktop(1) The Zero Install web-site: http://0install.net Thomas Leonard 2012 0ALIAS(1)
All times are GMT -4. The time now is 04:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy