02-19-2004
From the apps directory, run the command:
/usr/bin/ls -lb
and post the results of that.
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
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 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
7. 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
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 OPENSOLARIS
echo
echo(1B) SunOS/BSD Compatibility Package Commands echo(1B)
NAME
echo - echo arguments to standard output
SYNOPSIS
/usr/ucb/echo [-n] [argument]
DESCRIPTION
echo writes its arguments, separated by BLANKs and terminated by a NEWLINE, to the standard output.
echo is useful for producing diagnostics in command files and for sending known data into a pipe, and for displaying the contents of envi-
ronment variables.
For example, you can use echo to determine how many subdirectories below the root directory (/) is your current directory, as follows:
o echo your current-working-directory's full pathname
o pipe the output through tr to translate the path's embedded slash-characters into space-characters
o pipe that output through wc -w for a count of the names in your path.
example% /usr/bin/echo "echo $PWD | tr '/' ' ' | wc -w"
See tr(1) and wc(1) for their functionality.
The shells csh(1), ksh(1), and sh(1), each have an echo built-in command, which, by default, will have precedence, and will be invoked if
the user calls echo without a full pathname. /usr/ucb/echo and csh's echo() have an -n option, but do not understand back-slashed escape
characters. sh's echo(), ksh's echo(), and /usr/bin/echo, on the other hand, understand the black-slashed escape characters, and ksh's
echo() also understands a as the audible bell character; however, these commands do not have an -n option.
OPTIONS
-n Do not add the NEWLINE to the output.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), echo(1), ksh(1), sh(1), tr(1), wc(1), attributes(5)
NOTES
The -n option is a transition aid for BSD applications, and may not be supported in future releases.
SunOS 5.11 3 Aug 1994 echo(1B)