10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am unable to use the value of a variable.
while ]
do
LstFldDataPart =`head -n "$LstFldDataPartCntr" "${FeedFileDir}/${FeedFileBadRecs}" | tail -1 | tr -d '\n'`
echo $LstFldDataPart
JndLstFldDataPart="${JndLstFldDataPart}${LstFldDataPart}"
LstFldDataPartCntr=... (3 Replies)
Discussion started by: TomG
3 Replies
2. Shell Programming and Scripting
Could you let me know if my path is having bourne bash
echo $PATH
/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
$ which bash
/bin/bash
$ which ls
alias ls='ls --color=tty'
/bin/ls
Below is... (3 Replies)
Discussion started by: csguna6
3 Replies
3. UNIX for Dummies Questions & Answers
$ cat nu
who | wc -l
$ ls -l nu
-rwxr-x--- 1 _ _ 11 Jul 30 12:37 nu //the nu is displayed in green color
$ nu
bash: nu: command not found
I am using a book from 1986 on Unix System V, Release 3, and the Unix system I am connecting to is from my college.
Below is the notes from the book:... (4 Replies)
Discussion started by: chip
4 Replies
4. Linux
I installed in VM the Mandriva Linux.
But when I fire the make command it gives me command not found error.
Seems make is not installed.
I also checked in Mandriva control center and no development package is seen there.
Will pls let me know how to proceed and get make and other development... (2 Replies)
Discussion started by: rupeshkp728
2 Replies
5. UNIX for Dummies Questions & Answers
I have a program called abc installed in /usr/local/bin.
My path is as follows:
# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
However, when entering the abc command, the following error appears:
# abc
abc: Command not found
When... (7 Replies)
Discussion started by: figaro
7 Replies
6. Shell Programming and Scripting
Hello everyone,
I am using Linux and tcsh shell. I am trying to run a free open source program( which is in the form of a binary file), but every time I run it it gives me an error saying:
newhtsg_v1.0:Command not found.
I have set permission also for the same.
What else can I do to make... (4 Replies)
Discussion started by: ad23
4 Replies
7. UNIX for Dummies Questions & Answers
I'm guessing i have a syntax error. I'm not sure it get's past the the while condition. I get an error 0 not found. Simple loop not sure what I'm doing wrong.
#!/usr/bin/ksh
set -A MtPtArray /u03 /u06
tUbound=${#MtPtArray
}
echo $tUbound
i=0
while ($i -lt $tUbound)
do
print... (4 Replies)
Discussion started by: KME
4 Replies
8. Shell Programming and Scripting
Hi,
I have a strange problem and I'm sure its because I'm doing something stupid.
When I loop through all of the files in a directory they cannot be found.
Any help would be greatly appreciated.
Thanks,
-E
$ touch a.txt
$ touch b.txt
$ ls
a.txt b.txt
$ for f in `ls` ; do... (3 Replies)
Discussion started by: earls
3 Replies
9. Red Hat
Hi,
I am beginer to Linux. I have installed Redhat Linux AS 4.0 on my System.Later I created a User Oracle10g for Installing Oracle.Then I logged onto Oracle10g user and crated a Bash Profile and when I run that profile there was an error in that Profile. from then If I type any of Linux Command... (2 Replies)
Discussion started by: praswer
2 Replies
10. Shell Programming and Scripting
I have the following statement in script:
find ${LANDING_FILE_DIR}${BTIME_FILENAME_PATTERN2} -print | while read file; do
...
done
When there are no files located by the find comand it returns:
"find: bad status-- /home/rnitcher/test/....." to the command line
How do I get control in... (3 Replies)
Discussion started by: mavsman
3 Replies