08-19-2005
The find article in our FAQ section mentions the touch/find trick but many users can't even be bothered to scan the FAQ section prior to asking a question. I will link this thread in the FAQ article as well. It will help those users who do read the FAQ's.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have to find out the file system location of the script file inside script. for example a script "abc.sh" placed anywhere in the file system when executed shold tell by itself the location of it.
example
#pwd
/
#./abc
this is /
#cd /root
#./abc
this is /root
#cd /
#/root/abc
this... (10 Replies)
Discussion started by: asami
10 Replies
2. Shell Programming and Scripting
Hi, I'm trying to write a basic script which will measure throughput at a node on a network, and pass the results on to a manager script (running on another node on the same network). I presume that I need to use some sort of naming service, so that the manager can publish its location. From what I... (2 Replies)
Discussion started by: zeppelin147
2 Replies
3. Shell Programming and Scripting
i have a below script that will give me the filename along with the their size if the file size is more than 1 GB
for j in `find /ednadtu3/u01/pipe -type f -size +1048576`
do
du -g $j
done
--------------------------------------------------------------------------
the above script is... (3 Replies)
Discussion started by: ali560045
3 Replies
4. Shell Programming and Scripting
Hi,
I am trying to find files in a directory. I am passing a part of the file name as parameter 3 in my script. but my find command doesn't see
to take it correctly
find $IRC_PATH -type f -name `${3}`*.gz -print
Here $3 is part of file name I am passing as parameter. My files will look... (11 Replies)
Discussion started by: dsravan
11 Replies
5. Shell Programming and Scripting
Hello, as I'm doing my first steps in Linux I'm trying to create bash file
that will search file\s in folders by using the Find command.
can u help me with the script?
it should be :
myfind.sh
thanx! (2 Replies)
Discussion started by: SimonBASH
2 Replies
6. Shell Programming and Scripting
Hello,
I have a log file which is called datafile.info. This file contains data from a script but I can't find the script.
I have tried to grep the file name but I am only getting the output files back.
I have also tried find but no luck again.
Is there a way to find the script... (2 Replies)
Discussion started by: INHF
2 Replies
7. Shell Programming and Scripting
I want to make a script which takes the number of argument, add those argument and gives output to the user, but I am not getting through...
Script that i am using is below :
#!/bin/bash
sum=0
for i in $@
do
sum=$sum+$1
echo $sum
shift
done
I am executing the script as... (3 Replies)
Discussion started by: mukulverma2408
3 Replies
8. Shell Programming and Scripting
I need to find the script named jip.sh
how can i search it ? (13 Replies)
Discussion started by: rafa_fed2
13 Replies
9. UNIX for Dummies Questions & Answers
How to find how many parameters are required to run a Perl script? (1 Reply)
Discussion started by: Lakshman_Gupta
1 Replies
10. Shell Programming and Scripting
hi everyone
i tried to write my first script on unix solaris
the target is to find every file had size above 200M and save it to log file with size and path
i can do this but i still don't like it
#!/bin/bash
find / type f -size +200M -ls | log.txt
is there better way to do this !!... (3 Replies)
Discussion started by: mondo32
3 Replies
LEARN ABOUT DEBIAN
apache::authcookie::faq
Apache::AuthCookie::FAQ(3pm) User Contributed Perl Documentation Apache::AuthCookie::FAQ(3pm)
NAME
Apache::AuthCookie::FAQ - Frequently Asked Questions about Apache::AuthCookie.
VERSION
version 3.18
DESCRIPTION
This document serves to answer the most frequently asked questions about Apache::AuthCookie.
How can I protect an entire site (/) with Apache::AuthCookie?
You have to give an Apache "require" directive that applies to all requests for except for your login handler. The easiest way to do this
is to override the auth handlers for your login script. For example, if your login handler is "/LOGIN", then you need to use something like
the following:
<Location />
AuthType My::AuthCookieHandler
AuthName Whatever
PerlAuthenHandler My::AuthCookieHandler->authenticate
PerlAuthzHandler My::AuthCookieHandler->authorize
require valid-user
</Location>
<Location /LOGIN>
PerlAuthenHandler Apache2::Const::OK
PerlAuthzHandler Apache2::Const::OK
</Location>
...
NAME
Apache::AuthCookie::FAQ - Frequently Asked Questions about Apache::AuthCookie.
AUTHOR
Michael Schout <mschout@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2000 by Ken Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
BUGS
Please report any bugs or feature requests to bug-apache-authcookie@rt.cpan.org or through the web interface at:
http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-AuthCookie
perl v5.12.3 2011-05-09 Apache::AuthCookie::FAQ(3pm)