09-29-2006
read the rules of the forum
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Folks,
In a Unix (ksh) script, is there a way to determine the current working directory path of another logged-in user? Of course, I can use "pwd" to find my own path. But, how do I find it for another active user?
Thanks for any input you can provide. LY (6 Replies)
Discussion started by: liteyear18
6 Replies
2. Shell Programming and Scripting
Hi guys
I'm trying to move an empty directory to the $TRASH directory. Say the directory i have is ./hello/hello1/hello2 and i'm in hello2, and i want hello2 moved.
this code:
TRASH=$home/deleted
find "$TRASH/$1" -type d -exec rmdir { } \; 2>/dev/null
mv -f $1 $TRASH 2>/dev/null
works... (2 Replies)
Discussion started by: olimiles
2 Replies
3. UNIX for Dummies Questions & Answers
Looking for a command which shows the current path of other users.
Similiar to the PWD command.
Need to be able to see which part of the system the user is logged on to.
Thanks
G (4 Replies)
Discussion started by: Gandalf77
4 Replies
4. Programming
How does the program know the full path of itself when the program is running in certain diretory? BTW, I have no "argv" information of main() functino.
(The program is written in C++ on linux platform) (1 Reply)
Discussion started by: princelinux
1 Replies
5. Red Hat
I have 2 systems. (1) RHEL5 and (2) winXP pro
from xpPRO putty i ssh into rhel5 : user root
from xpPRO i ftp into rhel5 : user abc123
when i run #uptime it only shows 1 user
when i do #ps -u abc123 : it shows vsftpd deamon PID
is there a command that can be used to show all currently... (4 Replies)
Discussion started by: dplinux
4 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I need to mark a file with it's current location in the file system before being moved.
This will enable the file to be restored back to it's original location.
Can anyone provide any ideas about the best way to do this, at present i'm trying to use readlink -m to strip off the... (1 Reply)
Discussion started by: skinnygav
1 Replies
7. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
./local/share/test23.log
How can achieve that
a.) the leading "./" is omitted
and/or
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
1 Replies
8. UNIX for Dummies Questions & Answers
In ubuntu, I want to update the title of the terminal window with the current directory path. Any ideas how this can be achieved?
---------- Post updated at 02:22 PM ---------- Previous update was at 02:08 PM ----------
Done it
---------- Post updated at 02:30 PM ---------- Previous update... (2 Replies)
Discussion started by: kristinu
2 Replies
9. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
10. UNIX for Dummies Questions & Answers
How to get the current directory Path in your prompt?
i am getting a $ mark only in my prompt?
Please help me with this (3 Replies)
Discussion started by: Abhishek0683
3 Replies
LEARN ABOUT MOJAVE
fs_getcalleraccess
FS_GETCALLERACCESS(1) AFS Command Reference FS_GETCALLERACCESS(1)
NAME
fs_getcalleraccess - Show the current user's access to a file or directory
SYNOPSIS
fs getcalleraccess [-path <path>+] [-help]
fs gca [-p <path>] [-h]
DESCRIPTION
The fs getcalleraccess command displays the access that the current user has to the specified path using the same representation as fs
listacl.
OPTIONS
-help
Prints the online help for this command. All other valid options are ignored.
-path <path>+
The -path option specifies the path on which to operate. -path may be omitted. If this option isn't given, the default is to act on the
current directory.
OUTPUT
For each path, fs getcalleraccess outputs a line like:
Callers access to <directory> is <rights>
where <directory> is the path on which it is operating and <rights> is an ACL string in the same format as is returned by fs listacl. See
fs_listacl(1) for more information about AFS ACL strings.
EXAMPLES
The following command shows the current user's access to the path /afs/openafs.org, which is read and lookup access.
% fs getcalleraccess /afs/openafs.org
Callers access to /afs/openafs.org is rl
%
PRIVILEGE REQUIRED
No special privileges are required for this command.
SEE ALSO
fs_listacl(1), fs_setacl(1)
COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for
OpenAFS.
OpenAFS 2012-03-26 FS_GETCALLERACCESS(1)