Hi,
Any help on this would be very appreciated.
I capture the full path & filename in a variable like (varFile=/home/user/extfile.txt). Now in my shell script I have to use only the filename part i.e. extfile.txt. How do I extract only the filename part from the variable?
Thanks in... (3 Replies)
I have a script which searches a huge log file for the existence of a specified string and if the string is not present i receive an alert mail.
Here's an extract:
STRING=$(grep 'warning' logfile | tail -1 | wc -l)
if (( ${STRING} > 0 ));
then
print -- "---- Warning etc.... (3 Replies)
Hi,
Can any one pelase tell me how to grep multiple strings from multiple files in a singel folder?
grep -E "string1|string2|string3|string4|string..."
its taking lots of time..
can any please tell me fast grep???
URGENT (10 Replies)
How to grep multiple string occurance in input file using single grep command? I have below input file with many IDP, RRBE messages. Out put should have count of each messages.
I have used below command but it is not working
grep -cH "(sent IDP Request)(Recv RRBCSM)" *.txt ... (5 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)
Hi, every one!
I have a file with multiple strings.
file1
ATQRGNE
ASQGVKFTE
ASSQYRDRGGLET
SPEQGARSDE
ASSRDFTDT
ASSYSGGYE
ASSYTRLWNTGE
ASQGHNTD
PSLGGGNQPQH
SLDRDSYNEQF
I want to grep each string in hundreds of files in the same directory, further, I want to find out the string... (7 Replies)
I have a script that periodically checks the Apache error_log to search for a specific error that causes it to hand and, if found, it restarts the service.
I recently found another error that forces it to hand and won't serve pages until it is reset. What I'm trying to do is to get the script to... (3 Replies)
Hi,
Whether we can search multiple strings using or in grep -F
In Generally,
grep -F "string1" "filename.txt"
How to search for multiple string using grep -F as we using grep
grep "string1\|string2" "filename.txt"
Regards,
Nanthagopal A (10 Replies)
Consider i have the below data in my log file.
i want to grep using "Monday" and "Working"
So the only output i expect is
Can you help me with the grep query for Sun Sparc ?
Usage: grep -hblcnsviw pattern file . . . (8 Replies)
Discussion started by: mohtashims
8 Replies
LEARN ABOUT DEBIAN
mucous
MUCOUS(1) Museek Daemon Plus MUCOUS(1)NAME
Mucous - Python / Curses client for museek
SYNOPSIS
mucous [-c <filename>] [--config <filename>] [-l <directory>] [--log <directory>] [-v] [--version] [-h] [--help]
DESCRIPTION
Mucous provides a interface for the Museek Daemon for chatting, transferring files, managing users and browsing shares on the Soulseek P2P
network and Soulfind Servers.
You will need a configured museekd(1).
OPTIONS
Mucous accepts the following options:
-c <filename>, --config <filename>
Use a different config file.
-l <directory>, --log <directory>
Use a different chat log directory.
-v, --version
Display Version and exit.
-h, --help
Display Help and exit.
EXAMPLE
To run this program the standard way type:
mucous
Alternativly you use a different config file with:
mucous --config config
Or a different chat logging directory with:
mucous --log logdir
ENVIRONMENTAL VARIABLES
TERM Specifies the type of Terminal; changes the way mucous displays color.
For XTerm: xterm-color
For aterm or rxvt: rxvt
For urxvt: rxvt-unicode
FILES
~/.mucous/config
The default location for the mucous config file.
~/.mucous/logs/
The default directory for chat logs.
~/.mucous/logs/room/
The directory where chat room logs are stored.
~/.mucous/logs/private/
The directory where private chat logs are stored.
~/.mucous/$USER.image
The file where a user's userinfo image is saved.
AUTHORS
daelstorm <daelstorm@gmail.com>
SEE ALSO mulog(1)murmur(1)muscan(1)muscand(1)museekcontrol(1)museekd(1)museeq(1)musetup(1)musetup-gtk(1)daelstorm Release 0.8.0 MUCOUS(1)