08-03-2010
But the locate command only updates path which are not encrypted, right? Because when I use the locate command he only shows me files and folders on the root, but not on my encrypted home. How can I force it to locate inside the home?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi lads me again
trying to get a wee bit fancy with my scripting
anyway it dosn't seem to want to run (strange as it may seem)
I encrypted a file renamed it and wrote another file that unencrypts it
(it contains passwords) (and b4 anyone says I am doing this for my own reasons)
In a... (3 Replies)
Discussion started by: w33man
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am aware of the command locate/slocate. But when I try to search the file which is located in /tmp. Its not able to get it. I tried by updating the database also with the command updatedb.
Is there any consern that the command 'locate' dont check /tmp???
And I knew that locate is the... (5 Replies)
Discussion started by: praveen_b744
5 Replies
3. Shell Programming and Scripting
Hello,
I want to search for a file/directory named "abc" which is located anywhere in the given unix system.
I am using the command :-
But the problem is that this is giving me all combinations of files with have 'abc' in their name. But can I know the option to be used to get the location... (5 Replies)
Discussion started by: nsharath
5 Replies
4. Solaris
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies
5. HP-UX
Previously i worked on linux now i am working on HP-UX and solaris ...
I am not able to use Locate command(command not found) in HP-Ux and solaris.
Suggest me some options to use locate (6 Replies)
Discussion started by: girija
6 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
Ok, Im back with another small problem. I created a script (the one posted in the last thread). After some help from some members here all is good. The problem is I made it... (4 Replies)
Discussion started by: ozman911
4 Replies
7. AIX
Hello to all,
Can I use the "locate" command on AIX 5.3 like on Linux.
If yes what packages should I install and where can I find them.
Thanks,
Enid (9 Replies)
Discussion started by: enux
9 Replies
8. Shell Programming and Scripting
:(
---------- Post updated at 01:51 AM ---------- Previous update was at 01:50 AM ----------
Not working
---------- Post updated at 02:04 AM ---------- Previous update was at 01:51 AM ----------
cp -p /home/* home/exp/*.`date`
i am using this (4 Replies)
Discussion started by: rishiraaz
4 Replies
9. AIX
Is there a utility available to make such a backup? Is this idea even possible?
Thanks for the help. (5 Replies)
Discussion started by: rwh2011
5 Replies
10. Shell Programming and Scripting
HI when ever i type the locate command it is saying like below
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
i am using Linux .
version is as follows...
$ uname -a
Linux abc.abc.com 2.6.9-89.35.1.ELhugemem #1 SMP Tue Jan 4... (3 Replies)
Discussion started by: ptappeta
3 Replies
WHICH(1) BSD General Commands Manual WHICH(1)
NAME
which -- locate a program file in the user's path
SYNOPSIS
which [-as] program ...
DESCRIPTION
The which utility takes a list of command names and searches the path for each executable file that would be run had these commands actually
been invoked.
The following options are available:
-a List all instances of executables found (instead of just the first one of each).
-s No output, just return 0 if any of the executables are found, or 1 if none are found.
Some shells may provide a builtin which command which is similar or identical to this utility. Consult the builtin(1) manual page.
SEE ALSO
builtin(1), csh(1), find(1), locate(1), whereis(1)
HISTORY
The which command first appeared in FreeBSD 2.1.
AUTHORS
The which utility was originally written in Perl and was contributed by Wolfram Schneider <wosch@FreeBSD.org>. The current version of which
was rewritten in C by Daniel Papasian <dpapasia@andrew.cmu.edu>.
BSD
June 21, 2002 BSD