I've got a diff command running in a shell script that writes the ouput to a new file. In the new file there is a ">" at the beginning of each line. The output file is going to be used by another program and that character makes the file useless.
What I'm getting in the new file:
> 2007-09-27... (5 Replies)
Hi Friends,
we have recently installed RHEL4.4 and when i give the commd
ls -l > tt it prints the file name with some special charactes like
^[[00m1 in the begining of the file name and at the end of the file name. I wanted to use the file names of removing it before taking
the backup and... (4 Replies)
Hi
how to replace un wanted new line characters.
my file contains data like.
ramu,sony,"raju \n ravi \n ramya" \n
ravi,sarah,"sowmya \n sorry s\ sangam" \n
i want replace new line characters in between double coats with single space.
for example
$ cat input_file
ramu,sony,"raju... (3 Replies)
i have a file like this
1111_2222#$#$dudgfdk
11111111_343434#$#$334
1111_22222#43445667
i want to remove all those charachetrs from #
how can i do this
Thank in advance
Saravanan (4 Replies)
Hi!
So i've got this shell script that asks questions and the user is required to input answers. The answers typed are bold.
sh-*.*$ sh filename dir
cat question
tput bold
read ans
tput sgr0
... and so on
tput sgr0
exit
So when the script ends i don't get the bold characters... (3 Replies)
I have a database script that always produces the following output:
0
btw, the unwanted character looks like a square on a unix system. it doesn't look like the above quote.
how can I get rid of it and only keep the "0"?
---------- Post updated at 01:57 PM ---------- Previous update was... (2 Replies)
Hi. I need to trace on Unix level number of connections to an Oracle database. The listener runs on port 1521.
The following is run:
oracle@server03 >lsof -Pni |grep ".1521" |grep IPv4 | awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1
87 IPv4
oracle@server03 >
I need to append... (2 Replies)
ok, so i have no clue why this script i wrote spits out these bizarre characters:
i cant even copy and paste those characters on here because it just doesn't show up properly.
my question is, using sed, how can i get rid of all characters that aren't normal?
echo "abnormal characters" |... (4 Replies)
I wrote myself a small little shell script to clean up a file I have issues with. In particular, I am stripping down a fully qualified host/domain name to just the hostname itself. The script works, but from a performance standpoint, it's not very fast and I will be working with large data sets.
... (4 Replies)
Discussion started by: dagamier
4 Replies
LEARN ABOUT CENTOS
pmdapostfix
PMDAPOSTFIX(1) Performance Co-Pilot PMDAPOSTFIX(1)NAME
pmdapostfix - Postfix performance metrics domain agent (PMDA)
DESCRIPTION
pmdapostfix is a Performance Metrics Domain Agent (PMDA) which exports mail queue sizes as reported by qshape(1), as well as aggregate
statistics collected from mail.log.
INSTALLATION
If you want access to the names and values for the Postfix performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/postfix
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/postfix
# ./Remove
pmdapostfix is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
FILES
$PCP_PMDAS_DIR/postfix/Install
installation script for the pmdapostfix agent
$PCP_PMDAS_DIR/postfix/Remove
undo installation script for the pmdapostfix agent
$PCP_LOG_DIR/pmcd/postfix.log
default log file for error messages from pmdapostfix
SEE ALSO pmcd(1) and qshape(1).
3.8.10 Performance Co-Pilot PMDAPOSTFIX(1)