Hi all,
I have a log file which is more than 1GB, i need to take count from the log file for two strings. i am using the below command but it take a long time to excetue, i need to tune this. Please help me
cat /logs/gcbs/gcbsTrace.log | grep -i "ViewStatementBusinessLogic" | grep -c -i... (8 Replies)
Hi,
i have a file called alert_pindb.log i need to grep and count for all the lines starting with "ORA-" but i need to exclude the line which is having "ORA-00600
"
i am using following syntax to count the ORA- nos
"grep \"ORA-\" alert_pindb.log | wc -l";
since ORA- may be anything... (9 Replies)
i want to search in the current directory all the files that contain one word for example "hello"
i want to achieve it with the grep command but not with the grep * (2 Replies)
Hi,
I'm a complete newbie so bear with me.
I have a directory (and sub-dirs) full of .doc, .xls files.
What I'm trying to do is do a single search within the files (i.e. within each .doc etc) for occurrences of multiple items e.g. apples, pears, grapes, bananas.
Basically I'd provide a... (4 Replies)
I am trying to find a solution to a request here at work. I have been asked to do a full text search of around 300,000 files for multiple content items.
The following words need to appear in the file.
(april and\or may) and pie and (red and\or white).
So a file with the words april... (6 Replies)
I want to search files (basically .cc files) in /xx folder and subfolders.
Those files (*.cc files) must contain #include "header.h" AND x() function.
I am writing it another way to make it clear,
I wanna list of *.cc files that have 'header.h' & 'x()'. They must have two strings, header.h... (2 Replies)
Hi,
I will use below command for grep single string ("osuser" is search string)
ex: find . -type f | xarg grep -il osuser
but i have one more string "v$session"
here i want to grep in which file these two strings are present.
any help is appreciated,
Thanks in advance.
Gagan (2 Replies)
I'm attempting to use grep in Perl with very little success.
What I would like to do in Perl is get the output of the following grep code:
grep -l 'pattern' *
This gives me a list of all the files in a directory that contain the pattern that was searched.
My attempts to do this in Perl... (4 Replies)
i have a file as below
grepfile.txt
----------------
RNTO command successful
No such file or directory
Authentication failed
if i seach individually for 'RNTO command successful' or 'No such file or directory' using grep -i as below, im gettting result.
grep -i 'No such file or... (5 Replies)
Im having an issue when trying to replace the first column with a new set of values in multiple files. The results from the following code only replaces the files with the last set of values in val.txt. I want to replace all the files with all the values.
for date in {1..31}
do
for val in... (1 Reply)
Discussion started by: ncwxpanther
1 Replies
LEARN ABOUT DEBIAN
unixserver
UNIXSERVER(1) General Commands Manual UNIXSERVER(1)NAME
unixserver - UNIX domain socket server
SYNOPSIS
unixserver [options] socket program
DESCRIPTION
Unixserver is UNIX domain socket server that conform to UCSPI, the UNIX Client-Server Program Interface.
OPTIONS -q Quiet. Do not print any messages.
-Q (default) Print error messages.
-v Verbose. Print error and status messages.
-d Do not delete the socket file on exit.
-D (default) Delete the socket file on exit.
-u UID Change user id to UID after creating socket.
-g GID Change group id to GID after creating socket.
-U Same as '-u $UID -g $GID'.
-o UID Make the socket owned by UID.
-r GID Make the socket group owned by GID.
-O Same as '-o $SOCKET_UID -r $SOCKET_GID'.
-p PERM
Set the permissions on the created socket (in octal). Note: this option, if set, overrides the mask below. (defaults to 0666 minus
umask)
-m MASK
Set umask to MASK (in octal) before creating socket. (defaults to 0, previous value is restored afterwards)
-c N Do not handle more than N simultaneous connections. (default 10)
-b N Allow a backlog of N connections.
-B BANNER
Write BANNER to the client immediately after connecting.
SEE ALSO unixclient(1), unixcat(1) http://cr.yp.to/proto/ucspi.txt
AUTHOR
ucspi-unix package was written by Bruce Guenter <bruceg@em.ca>
This manual page was originally written by Tomas Kuliavas <tokul@bigfoot.com> for the Debian GNU/Linux system, but may be used elsewhere
under the GPL.
UNIXSERVER(1)