10 More Discussions You Might Find Interesting
1. AIX
Our AIX system is currently having an issue where calls to various executables are returning errors such as
ksh: /usr/bin/oslevel: not found.
This is even happening with system files, third party scripts, and with the full path included.
Telnet connections are also closing immediately upon... (6 Replies)
Discussion started by: Chthonic
6 Replies
2. Shell Programming and Scripting
Hi,
This is probably a stupid question, but I cant seem to get this to work. Being new to perl I dont see what is wrong.
I am passing $1 from a squid redirector script, this piece of code never seems to be working :wall::confused:
#!/bin/sh
open(FILE,"myurls");
if (grep{/$1/} <FILE>){
... (5 Replies)
Discussion started by: jamie_123
5 Replies
3. Shell Programming and Scripting
Hi,
i used to run oracle queries in unix and then transfer the result in to csv files. it was working fine for a month.but today it showed an error like
ksh>dimens_minus_scpt.sh not found.
Can someone please help.
Thanks.
:wall: (4 Replies)
Discussion started by: varadharajan87
4 Replies
4. Shell Programming and Scripting
I've a simple .sh file:
#!/bin/ksh
sort -t: -k 1.13,1.13 -k 1.16,1.29 sort.txt > output.txt
When i try to run this sort.sh file
./sort.sh
it gives me the error:
ksh: ./sort.sh: not found
I've tried the following:
1) echo $SHELL
/bin/ksh
2) echo $PATH... (4 Replies)
Discussion started by: kajal_ind
4 Replies
5. UNIX for Dummies Questions & Answers
Hi ,
I am new to solaris world but worked in unix for a while . I have this solaris box version 8 .I am trying to run a simple unix file . Q.shl
cat Q.shl
#!/bin/ksh
db2 get connection state
When I run the file I get following error :
Q.shl
ksh: Q.shl: not found
This is... (6 Replies)
Discussion started by: capri_drm
6 Replies
6. Shell Programming and Scripting
I have korn shell script that genretaets 100 file based on template replacing the number.
The template file is as below:
$ cat template
file number: NUMBER
The shell script is as below:
$ cat gen.sh
#!/bin/ksh
i=1;
while ((i <= 100)); do
sed "s/NUMBER/$i/" template > file_${i}
((... (1 Reply)
Discussion started by: McLan
1 Replies
7. Shell Programming and Scripting
Hello Guys,
what is the significance of using #!/bin/sh at the start of shell script.
my default shell is ksh, when i run my script i have ksh: not found error
and when i use ./myscript it works.
Can anyone explain me the problem please ?
tnx (1 Reply)
Discussion started by: midhun_u
1 Replies
8. Shell Programming and Scripting
Hi all ,
I am getting an error "job_procfile not found" while excecuting a .ksh script. The script is used to create control-m ( scheduler ) jobs dynamically by reading parameter files ( flat filescomma seperated )
job_procfile is a function within the .ksh script
The script is something... (8 Replies)
Discussion started by: rajesh_ramaoz
8 Replies
9. Programming
$ make
ksh: make: not found
Hello, when i use the "make" command in Solaris, it says the "make" command is not found!
Any help appreciated!
BobK (3 Replies)
Discussion started by: bobk544
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
I've set up putty/ plink to work with cvs on windows and connect via ssh to unix where my cvs repository is. I want to use wincvs to log in to my cvs repository.
However, I get an error when I run the following command (on windows):
cvs -d :ext:user@server:/path/to/repository status
... (2 Replies)
Discussion started by: rein
2 Replies