Wow, for the entire system will take quite some time... but here's one way:
(note: I piped it to a file, in case there's lots of hits. You can view the /tmp/bigsearch.log to see the outputs. Also, you'll get a lot of errors and be very limited in your search if it is not executed by root)
Hope that helps...
Also, it may slow your system considerably, depending on the power of your machine. I wouldn't recommend running that on a production or even needed box...
I need to search a directory for files that have certain text in the file name. I use the following command to do that successfully -
find /abc/indicator -name '*midday*.ind'
The problem is some file names are lower case, some mixed case and some upper case. Is there a way to do the find... (5 Replies)
i need help with my script....
i am suppose to grab files within a certain date range
now i have done that already using the touch and find command (found them in other threads)
touch -d "$date_start" ./tmp1
touch -d "$date_end" ./tmp2
find "$data_location" -maxdepth 1 -newer ./tmp1 !... (6 Replies)
Evening all. I'm having a terrible time with a script I've been working on for a few days now...
Say I have a text file named top10song.tm2, with the following in it:
kernkraft 400
Imagine
i kissed a girl
Thriller
animals
hallelujah
paint it black
psychosocial
Oi to the world... (14 Replies)
I have 100+ python files in a single directory. I need to replace a specific path occurrence with a variable name.
Following are the find and the replace strings:
Findstring--"projects\\Debugger\\debugger_dp8051_01\\debugger_dp8051_01.cywrk"
Replacestring--self.projpath
I tried... (5 Replies)
Hi.
I would like to have experts help on below action.
I have text files in which page nubmers exists in form like
PAGE : 1
PAGE : 2
PAGE : 3 and so on there is other text too. I would like to know is it possible to check the last occurance of Page... (6 Replies)
I'm having a problem how to find the specific word in a file without using the word itself as a search but using the assigned variable which is the $passwd.. what command should I use to find the value of $passwd written in different script? how do I use the command to print the value in this... (7 Replies)
Here's the nonfunctional code I have so far
#!/bin/bash
searchFor=(`cat filea.txt` )
replaceWith=(`cat fileb.txt`)
myMax=${#searchFor}
myCounter=1
while ;
do sed -i 's/${$searchFor}/${$replaceWith}/g'
done
The goal is to use each line in filea.txt as a search term, and each line... (2 Replies)
I've been using this to search an entire directory recursively for a specific phrase in my code (html, css, php, javascript, etc.):
find dir_name -type f -exec grep -l "phrase" {} \;
The problem is that it searches ALL files in the directory 'dir_name', even binary ones such as large JPEG... (2 Replies)
In the attached files, I am trying to use import.txt to find what is missing in all.txt and print the missing lines in missing.txt. I used SQL to import a list into a database and got errors and need to figure out what didn't import correctly. The below script is close, I think, but doesn't... (8 Replies)
Discussion started by: cmccabe
8 Replies
LEARN ABOUT DEBIAN
bidentd
BIDENTD(8)BIDENTD(8)NAME
bidentd - Bisqwit's TCP/IP Identification Protocol daemon
SYNOPSIS
bidentd [ -qq | -q | -v | -vv | -vvv ]
DESCRIPTION
Bisqwit's identd is a daemon for the intenet Identification Protocol described by RFC 1413. It supports recursive IP masquerade, where a
machine has Internet access through a masquerading machine which itself has Internet access through another masquerading machine, and so
on. The program requires no setup (no config files required). It is designed to be run from the Internet superserver (inetd).
bidentd requires no command-line arguments, but some are supported though. Explained below.
OPTIONS
The following options control the amount of information that is dumped to the system log. Options may be specified separately or in group:
-qq equals -q -q.
-qq Output nothing to the log.
-q Output only fatal errors to the log.
(no option)
If no option is specified, the log includes one line for every reponse sent in addition to any fatal errors.
-v Be a little more verbose than when no option is specified.
-vv Output everything that -v outputs and additional debug information.
-vvv Output a lot of debug information in addition to everything that -v outputs.
FILES
/proc/net/tcp
This file is required by bidentd operation
/proc/net/ip_masquerade
If masquerade support is desired, this file is needed.
/proc/net/ip_conntrack
This file will be used for masquerading connection tracking if the kernel is from 2.4-series.
AUTHOR
Bisqwit's identd was written by Joel Yliluoma <bisqwit@iki.fi>. Some enhancements and this manual page were added by Antti-Juhani Kai-
janaho.
2002-05-01 BIDENTD(8)