02-04-2010
I checked the path. I'm in the required directory and the .sh file is present
Still i'm getting /bin/ksh: ./sort.sh: not found error.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Solaris 8 using ksh:
I have a directory called apps...in that directory there are some flat files and some directories. I can't access one particular subdirectory called netscape-old. I am NOT logged in as root
Here is the info...
user@machine>ls -l
drwxr-xr-x 3 root other ... (5 Replies)
Discussion started by: dangral
5 Replies
2. 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
3. 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
4. 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
5. 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
6. 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
7. Shell Programming and Scripting
I have started to write Korn scripts on the client's AIX 4.2 servers and there is this small problem that puzzles me.
I code all my scripts the same way:
- first line contains :
#!/bin/ksh
- I do this console command on every scripts:
chmod +x scriptname
But still, on some occasions,... (4 Replies)
Discussion started by: Browser_ice
4 Replies
8. Shell Programming and Scripting
Hi guys,
I need to run batch jobs on a remote machine. I have been able to make a connection with a user2 login details via ssh, and have tested that I am in the correct directory etc. Problem is that when I try to run the batch job, I keep getting a ksh <batchjobname> not found. If doing it... (1 Reply)
Discussion started by: Hopper_no1
1 Replies
9. 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
10. Shell Programming and Scripting
I am using a perl file to run a batc job from unix prompt. I am inside the correct directory where the perl file is located. I can even find the file using ls command. But when I run the perl file , it says 'ksh: <perl_file.pl> not found'.
Could anyone please let me know what is wrong? (4 Replies)
Discussion started by: Subhasis
4 Replies
LEARN ABOUT DEBIAN
cvsd-buildroot
cvsd-buildroot(8) System Manager's Manual cvsd-buildroot(8)
NAME
cvsd-buildroot - create a chrooted directory structure for use in cvsd.
SYNOPSIS
cvsd-buildroot DIRECTORY
DESCRIPTION
cvsd-buildroot creates and populates a directory that can be used as a chroot jail for running cvsd (see cvsd(8) ) in.
This script should be run as the root user since the creation of devices and the changing of ownership and permissions require this.
The script gives warnings about files that it's not expecting.
cvsd-buildroot creates the following directory structure:
/bin This directory is populated with the cvs binary that is found on the system.
/lib This directory is populated with all the libraries that are required for running programs in the /bin directory as well as some
predefined required libraries that are present on the system.
/dev Here null and zero devices are created.
/etc In this directory a passwd file is created that is used for matching user id's with usernames. The root and cvsd user are added to
this file if they're not there yet. The passwd file is checked for consistency with the system /etc/passwd to prevent mistakes.
The passwd file is also populated with users referenced in the repository directories. Note that no password data from /etc/passwd
or any other file is stored in the generated passwd file, all password entries are set to 'x'.
/usr Here symbolic links are placed to /bin and /lib for some common library and binary directories found on the system. This is done
for systems that have hard-coded paths for libraries.
/libexec and /usr/libexec
Symbolic links for these directories are created if they are present on the system.
/tmp This directory is cleaned out on systems that have tmpreaper.
After the directories are created and populated ownership and rights are set to a reasonable value (root:root,umask=022).
OPTIONS
cvsd-buildroot takes one argument, namely a directory in which the chroot jail will be created. The directory should be specified with an
absolute path.
NOTES
Creating a chroot environment is a terribly non-portable thing to do and therefore you may experience problems with missing libraries and
system files. For more information see the FAQ and the README. If you have to install libraries or perform actions not covered by
cvsd-buildroot please report your findings to <cvsd-users@lists.arthurdejong.org>.
Rerunning cvsd-buildroot after you have created your repository is advised since the repositories are checked for references to userid's
and lockfile directories.
SEE ALSO
cvsd(8)
README
FAQ
AUTHOR
Arthur de Jong <arthur@arthurdejong.org>.
Version 1.0.24 Jun 2012 cvsd-buildroot(8)