hello,
what I have:
---
lots of text bla bla bla
PATCH MANAGEMENT AND SOFTWARE UPDATES - EXTERNAL
Risk Severity: High Area: External Network Relative Rating: Medium
lots of text bla bla bla
WIRELESS AP
Risk Severity: High Area: External Network Relative Rating: Poor
... (3 Replies)
As the title says, echo is striping my quotes and I need them.
echo "<?xml version="1.0" encoding="ISO-8859-1"?>"
returns:
<?xml version=1.0 encoding=ISO-8859-1?>
Obviously,
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"
returns the result I need:
<?xml version="1.0"... (3 Replies)
Hi All,
Am copying mulitple files in a directory in names File0,File1,File2 etc.
I need to print separately the PID of these copies using File names.
for((i=0;i<5;i++))
do
mypid=`ps aux | awk '/File$i/ && !/awk/ { print $2 }'`
echo PID is $mypid
done
It printed nothing. Thinking... (6 Replies)
To get this:
https://www.unix.com/members/silversleevesx-albums-incidental-shot-glass-picture127-termshot-rxvt-rootless.png
out of Cygwin's rxvt, you have to tweak your
/cygwin/etc/x11/app-defaults/rxvt file, which is here:... (0 Replies)
I would appreciate some help, please.
I have a file cutshellb.txt, which contains four report names (but it could be any number from 1 to x. The report suffix is not necessarily consecutive:
report3785
report3786
report3787
report3788
I have a shell script which attempts to read the... (3 Replies)
I have pasted the contents of a log file (swmbackup.wrkstn.1262071383.sales2a) below:
Workstation: sales2a<BR
Vault sales2a-hogwarts will be initialized.<BR
<font color="red"There was a problem mounting /mnt/sales2a/desktop$ </FONT<BR
<font color="red"There was a problem mounting... (4 Replies)
I am trying to capture the process on a red hat linux system with the highest cpu utilization into a variable. I have been playing with ps command but really do not think I am making the correct progress.
For instance:
top - 09:01:16 up 63 days, 18:29, 2 users, load average: 0.39, 0.49, 0.48... (5 Replies)
Dear Experts,
Pl help me to fix this
i am trying to unmount the all the file systems in VG, Once unmounted vary off the VG.
I have written the script to do that it works fine when none of user or process id holds it but if in use it says resource is busy and can't unmount.
even i used... (2 Replies)
Hi All,
I need to get the PID of a process which i ran in background into a variable
echo $! gives me the PID of last background process but how to get this into a variable so that i can use "wait" command later in the script to make sure that this background process was done
var = `echo... (5 Replies)
Have a script where I need to wait for a process to run, but from that process I want to capture the row count.
Script I have so far (easier than explanation):
echo "Start"
export NUMROWS=`td "select * from dbc.database" 2> /dev/null |
grep "Query completed" | sed -e 's/.*Query... (7 Replies)