If you have locate installed, this should find it efficiently:
If you don't, and really want to do a brute-force search of the entire system, bar nothing and nobody:
The 2> because this is going to spew lots of errors when it blunders through areas it doesn't belong.
If you can narrow it down even the slightest bit, you can make it much faster:
Hi all,
I want to search the files in a remote machine for a particular string. The SSH command I wrote is giving an error even when the syntax is correct.
ssh user@hostmachine find . -name "*.txt" -exec grep "ARIVU" '{}' \;
The error it gives is find: missing argument to `-exec'
When the... (2 Replies)
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
I am a newbie and would like some help with the following -
Trying to search fileA for a string similar to -
AS11000022010 30.4 31.7 43.7 53.8 60.5 71.1 75.2 74.7 66.9 56.6 42.7 32.5 53.3
I then want to replace that string with a string from fileB - ... (5 Replies)
Hi ,
I have been trying to write a perl script to do this job. But i am not able to achieve the desired result. Below is my code.
my $current_value=12345;
my @users=("bob","ben","tom","harry");
open DBLIST,"<","/var/tmp/DBinfo";
my @input = <DBLIST>;
foreach (@users)
{
my... (11 Replies)
Hi Team,
I am new to unix, please help me in this.
I have a file named properties.
The content of the file is :
##Mobile props
east.url=https://qa.east.corp.com/prop/end
west.url=https://qa.west.corp.com/prop/end
south.url=https://qa.south.corp.com/prop/end... (2 Replies)
I have two files:
file 1:
hello.com neo.com,japan.com,example.com
news.net xyz.com, telecom.net, highlands.net, software.com
example2.com earth.net, abc.gov.uk
file 2:
neo.com
example.com
abc.gov.uk
file 2 are the search keys to search in file 1 if any of the search... (7 Replies)
I'm trying to find a way to search a range of similar words in a file. I tried using sed but can't get it right:sed 's/\(ca01\)*//'It only removes "ca01" but leaves the rest of the word. I still want the rest of the information on the lines just not these specific words listed below. Any... (3 Replies)
Hi guys,
I have a text file named file1.txt that is formatted like this:
001 , ID , 20000
002 , Name , Brandon
003 , Phone_Number , 616-234-1999
004 , SSNumber , 234-23-234
005 , Model , Toyota
007 , Engine ,V8
008 , GPS , OFF
and I have file2.txt formatted like this:
... (2 Replies)
Run a loop that will search for a file to thousand machine and know who owns the file
$ for i in abc{01..02}
> do
> echo -n $i
> ssh $i "sudo find / -name .ssh -exec ls -l {} \;|grep id"
> done
abc01-rw-------. 1 root root 1675 Nov 10 2018 id_rsa
abc01-rw-------. 1 root root 1675 Nov 14... (6 Replies)
Discussion started by: invinzin21
6 Replies
LEARN ABOUT DEBIAN
squid-prefetch
UNDOCUMENTED(7) Linux Programmer's Manual UNDOCUMENTED(7)NAME
undocumented - No manpage for this program, utility or function.
DESCRIPTION
This program, utility or function does not have a useful manpage. Before opening a bug to report this, please check with the Debian Bug
Tracking System (BTS) at <http://bugs.debian.org/> if a bug has already been reported. If not, you can submit a wishlist bug if you want.
If you are a competent and accurate writer and are willing to spend the time reading the source code and writing good manpages please write
a better man page than this one. Please contact the package maintainer and copy man-pages@qa.debian.org in order to avoid several people
working on the same manpage.
Even if you are not an accurate writer, your input may be helpful. Writing manual pages is quite easy, the format is described in man(7).
The most important and time-consuming task is to collect the information to be put in the new manpage.
DIAGNOSTICS
It is possible that the man page for the command you specified is installed and that your manual page index caches are out of sync. You
should try running mandb(8).
Try the following options if you want more information:
foo --help, foo -h, foo -?
info foo
whatis foo, apropos foo
dpkg --listfiles foo, dpkg --search foo
locate '*foo*'
find / -name '*foo*'
Additionally, check the directories /usr/share/doc/foo, /usr/lib/foo.
The documentation might be in a package starting with the same name as the package the software belongs to, but ending with -doc or -docs.
If you still didn't find the information you are looking for you might consider posting a call for help to debian-user@lists.debian.org.
SEE ALSO info(1), whatis(1), apropos(1), dpkg(8), locate(1), find(1), updatedb(1), undocumented(3), man(7), mandb(8), missing(7).
Debian GNU/Linux August 24th, 2003 UNDOCUMENTED(7)