10 More Discussions You Might Find Interesting
1. AIX
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1).
0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded.
0509-152 Member... (4 Replies)
Discussion started by: Ohmkar
4 Replies
2. Shell Programming and Scripting
i am trying the blow command in vain on Linux Terminal.
kill -9 `ps -eaf | grep weblogic.NodeManager | grep wls103 | awk '{print $2}'`
kill: usage: kill pid | jobspec ... or kill -l
kill -9 $(ps -eaf | grep weblogic.NodeManager | grep wls103| awk '{print $2}')
kill: usage: kill pid |... (7 Replies)
Discussion started by: mohtashims
7 Replies
3. UNIX for Dummies Questions & Answers
Hello all.
I am currently using Red Hat Enterprise Linux Server release 5.8 (Tikanga).
I have multiple users on this system and intend to use nail command to send out emails.
When I enter the command:
nail <some-email-address>
its accepts the command and sends out an email.
But when I... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
4. Shell Programming and Scripting
Hi,
We have a shell script which looks into a directroy for any folder older than 30 days and removes them. The command being used is
find $ARCHIVE_DIR -type d -mtime +$PURGE_HIST_DAYS -exec rm -rf {} \;
It removes some folders but then throw below errors for others:
find:... (2 Replies)
Discussion started by: DejaVu
2 Replies
5. Shell Programming and Scripting
Hi All
We are migrating our projects from unix environment to linux. I tried running a install script which sets up my project, i.e. the directory structure and all. But in the middle of the script i started receiveing following error : nawk: command not found .
So i need to know which... (1 Reply)
Discussion started by: vee_789
1 Replies
6. Shell Programming and Scripting
hello
every time i run the following code
for val in fileX fileY fileZ
do
$val=`ls -l $val | awk '{print $5}'`
done
i got error message command not found , i tried to add ' and " but nothing works
its only worked wen remove $val=
but i want the name of the file and the value
... (9 Replies)
Discussion started by: mogabr
9 Replies
7. Shell Programming and Scripting
Hi,
This error is actually out of implementing the command posted here -
https://www.unix.com/shell-programming-scripting/155589-remove-blank-lines-merge-lines-shell.html
Here is the error i get -
awk: Input line xxxxx cannot be longer than 3,000 bytes.
The source line number is 1.... (1 Reply)
Discussion started by: dvah
1 Replies
8. Shell Programming and Scripting
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies
9. Shell Programming and Scripting
Hi,
Could some one help me please ?
When I execute this command
# paste -s -d"^m" swagent.log | sed '{s/\"\./\"\.\n/g}' > swagent.new
I get this error.
sed: Function {s/\"\./\"\.\n/g} cannot be parsed.
Many Thanks in advance
Regards,
Nagu (1 Reply)
Discussion started by: srnagu
1 Replies
10. Shell Programming and Scripting
Hi,
I am a newbie and was getting an error when I use the if..else syntax. The script looks like this
echo "Please specify the database version (9i/10g): "
read VERS
if
then
echo "Its a 9i Database"
sqlplus -s $puser/$ppass << EOF_I
spool cxcreate9i.lst
@... (3 Replies)
Discussion started by: bhatia333
3 Replies