10 More Discussions You Might Find Interesting
1. 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
2. HP-UX
I use hp HP-UX.
I want to get vsz of the process .
What is the syntax ...
/run>ps -help
ps: illegal option -- h
ps: option requires an argument -- p
usage: ps (3 Replies)
Discussion started by: chuikingman
3 Replies
3. UNIX for Dummies Questions & Answers
what is the back up command to take back up files and syntax (1 Reply)
Discussion started by: sunilamarnadh
1 Replies
4. UNIX for Dummies Questions & Answers
hi All,
how can i make my own commamnds for unix shell scripts.
lets xmple..
1-i want to use "down arrow key" for previous runned unix commands.
then how to acheive it.
2-Generally TAB --- complete filename or command up to the point of uniqueness ..but here its not working ..
I m new to... (1 Reply)
Discussion started by: pradeepcarya
1 Replies
5. Shell Programming and Scripting
i have the following do command:
while IFS =: read printer drv IP port
do
echo -e "$ printer: \ n \
drv: \ t $ drv \ n \
IP: \ t $ IP \ n \
port: \ t $ port \ n \"
done < diffs.txt
receiving the following error:
syntax error at line 37 : `do' unmatched
something is... (2 Replies)
Discussion started by: ggoliath
2 Replies
6. Shell Programming and Scripting
I want the output to show 2 lines following this line.
How do I amend my awk command.
Please guide.
Thanks (3 Replies)
Discussion started by: Tirmazi
3 Replies
7. Shell Programming and Scripting
can anyone tell me what`s going wrong with my if else statement?
set exam=(AAA BBB CCC)
foreach ii ($exam)
if ($ii -eq "AAA")
do
echo "PASS"
else
echo "FAILED"
done
end (4 Replies)
Discussion started by: c0384
4 Replies
8. Shell Programming and Scripting
Hi there.
I spent too much time away from Unix, now I can't remember how to issue a simple until command in ksh :mad:
could you tell me what is wrong with the following code sample:
export v = "1"
until
do
echo 'executing repeat_until'
v = `expr $v + 1`
done
I've... (3 Replies)
Discussion started by: 435 Gavea
3 Replies
9. UNIX for Dummies Questions & Answers
Here's my situation. I am trying to move all files from one directory to another. I have the following requirements:
1) Move all files in /myfiles/wip matching pattern "*.tif" to /work/in that are at least 10 minutes old (or older).
2) When the files are moved, they need to be moved into... (2 Replies)
Discussion started by: dsimpg1
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Does anyone knows the command syntax for the following Unix commands:
at
mount
The OS is the Chorus/Mix 4.3 BSD Unix.
The "at" command does the following: at a precise date and hour it executes a desirede command.
Many thanks !!!
Regards, Pedro Pereira (3 Replies)
Discussion started by: pmap
3 Replies