Errors using ln


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Errors using ln
# 1  
Old 01-12-2012
Errors using ln

ln: Filename1 and Filename2 are identical.

Seems to be an error.. Unable to proceed further

Can you ppl help me?
# 2  
Old 01-12-2012
I guess, you r trying to provide the same name for link
# 3  
Old 01-13-2012
Pls help me!!

Code:
+ awk -f /home/fnsw/bin/stpprnt.awk
+ 1> /fnsw/local/coldin/CO_IB1Spanish.1201130608
 syntax error The source line is 1.
 The error context is
                created >>>  : <<<
 awk: Quitting
 The source line is 1.

I have created the file stpprnt.awk (created using vi).. Dont know why this error is coming and to resolve it..

Help me regarding this!

Last edited by Franklin52; 01-13-2012 at 08:01 AM.. Reason: Please use code tags for code and data samples, thank you
# 4  
Old 01-13-2012
Not enough information.
What Operating System and version you you have? If this this Solaris, try "nawk" not "awk".
What Shell are you using?
What was the original command line?
What is in the file /home/fnsw/bin/stpprnt.awk ?
# 5  
Old 01-15-2012
Operating System is HP-UX and the shell is K-sh..

Original Command line is copying the contents of /home/fnsw/bin/stpprnt.awk to some other location (/fnsw/local/coldin/CO_IBS*)

I created the file stpprnt.awk and it is empty.

I got the errors like
Code:
+ awk -f /home/fnsw/bin/stpprnt.awk
+ 1> /fnsw/local/coldin/CO_IB1Spanish.1201130608
 syntax error The source line is 1.
 The error context is
                created >>>  : <<<
 awk: Quitting
 The source line is 1.

Now is it clear?

Last edited by Franklin52; 01-16-2012 at 03:04 AM.. Reason: Please use code tags for code and data samples, thank you
# 6  
Old 01-16-2012
I would say (from the error message) that the file /home/fnsw/bin/stpprnt.awk contains
created : on line 1 ... this isn't a valid awk program.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Errors while using echo

Hi I am new to shell scripting. I am using a shell script to create a SQL script file and then call it as well. The created SQL script file has calls to 2 other sql script file, as well as compile and execute a procedure. all this works fine. I am getting some simple errors. My code is as below ... (8 Replies)
Discussion started by: man_expo
8 Replies

2. UNIX for Advanced & Expert Users

UDP errors

Hi, I can see "udpInOverflows" errors when I execute 'netstat -s' on my Solaris box. The number of errors are small - about 40. e.g. $ netstat -s|grep udp UDP udpInDatagrams =1249190732 udpInErrors = 0 udpOutDatagrams =31663030 udpOutErrors = 0... (1 Reply)
Discussion started by: chaandana
1 Replies

3. UNIX for Dummies Questions & Answers

Major OS errors/Bash errors help!!!!

Hi all, dummy here.... I have major errors on entering the shell. On login I get: -bash: dircolors: command not found -bash: tr: command not found -bash: fgrep: command not found -bash: grep: command not found -bash: grep: command not found -bash: id: command not found -bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies

4. Programming

errors....

hi i have written a program to display files in a directory but it doesnt compile on the sun/solaris system.... im using gcc(inbuilt compiler) im generally used to working on a windows environment so maybe im overlookiing something ive added comments to help readability of the program i also... (2 Replies)
Discussion started by: anything2
2 Replies

5. UNIX for Dummies Questions & Answers

X errors

I'm trying to set up x2x between my desktop and laptop, and as a precondition to that, I'm just trying to get each to be able to display programs on the other (e.g. "desktop$ xterm -display laptop:0"). OS is Ubuntu 5.10 and X version is X.org 6.8.2 I've set up X to run without -nolisten, and... (1 Reply)
Discussion started by: vertigo23
1 Replies

6. UNIX for Advanced & Expert Users

What are these errors?

root@INTSETICADB # su - oracle Killed root@INTSETICADB # su - selectica Killed root@INTSETICADB # man prstat Reformatting page. Please Wait...Segmentation Fault - core dumped sys(cd /usr/man; /usr/lib/sgml/sgml2roff /usr/man/sman1m/prstat.1m > /tmp/sman_iUaW5x) fail! aborted (sorry) (3 Replies)
Discussion started by: abhijeetkul
3 Replies

7. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

8. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies

9. HP-UX

errors

fatal server error: couldn't open x pointer device! is one attached? xinit: connection refused (errno 239): unable to connect to X server xinit: no such process (errno3): server error. (1 Reply)
Discussion started by: nobody
1 Replies

10. Filesystems, Disks and Memory

Help with errors

I am very new to the world of Unix, in the middle of a crash course as I write this due to a system failure for my company. This system went down approximately 24 hours ago due to some apparent thunderstorms that passed through. The problem is that my company, like many others, has laid off... (5 Replies)
Discussion started by: Phaedirean
5 Replies
Login or Register to Ask a Question