12-14-2011
can root as in ../home/unix/jones, root is the parent of all them or is it just the one in front, like a train? thanks for the reply
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
Discussion started by: yahoo!
1 Replies
2. Solaris
Hello
root@ne-ocadev-1:/root/scripts>su espos -c find /a35vol100/ESPOS/oracle/db/9.2.0/oradata/ESPOS/archive -type f -atime +10 -exec ls {}
shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied
find: insufficient number of... (6 Replies)
Discussion started by: babu.knb
6 Replies
3. UNIX for Advanced & Expert Users
Hi folk,
Could you please give me command to give the rwx permissions to the parent and its sub directories ?
Is it possible to fire one command or Script for giving permission to both the parent and its sub directories.
I meant to say something like in recurcive.
I am using AIX 5.2
... (2 Replies)
Discussion started by: varungupta
2 Replies
4. Shell Programming and Scripting
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Discussion started by: ejianu
5 Replies
5. UNIX for Advanced & Expert Users
looking for a wget option that does not retrieve entire path from source box...
currently working with the following syntax:
wget --no-verbose --mirror --no-parent --no-host-directories --page-requisites --ftp-user=mis --ftp-password=secret ftp://192.x.x.x/tmp/test
is anyone familiar... (0 Replies)
Discussion started by: mr_manny
0 Replies
6. Shell Programming and Scripting
Hello all,
I'm trying to copy all files within a specified directory to another location based on a find filter of mtime -1 (Solaris OS). The issue that I'm having is that in the destination directory, I want to retain the source directory structure while copying over only the files that have... (4 Replies)
Discussion started by: hunter55
4 Replies
7. Shell Programming and Scripting
I am fairly new to bash(but am proficient in C++), and have only completed a few simple scripts. This is my first script that I actually need to do a serious task.
All of my audiobooks are stored in traditional MP3 format: Music/Artist/Album/*.mp3 (which in this case is... (0 Replies)
Discussion started by: gamendorf
0 Replies
8. Shell Programming and Scripting
Hi everyone
i am very new to linux , working on bash shell.
I am trying to solve the given problem
1. Create a process and then create children using fork
2. Check the Status of the application for successful running.
3. Kill all the process(threads) except parent and first child... (2 Replies)
Discussion started by: vizz_k
2 Replies
9. Solaris
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies
LEARN ABOUT X11R4
xquerytree
XQueryTree(3) XLIB FUNCTIONS XQueryTree(3)
NAME
XQueryTree - query window tree information
SYNTAX
Status XQueryTree(Display *display, Window w, Window *root_return, Window *parent_return, Window **children_return, unsigned int *nchil-
dren_return);
ARGUMENTS
children_return
Returns the list of children.
display Specifies the connection to the X server.
nchildren_return
Returns the number of children.
parent_return
Returns the parent window.
root_return
Returns the root window.
w Specifies the window whose list of children, root, parent, and number of children you want to obtain.
DESCRIPTION
The XQueryTree function returns the root ID, the parent window ID, a pointer to the list of children windows (NULL when there are no chil-
dren), and the number of children in the list for the specified window. The children are listed in current stacking order, from bottom-
most (first) to top-most (last). XQueryTree returns zero if it fails and nonzero if it succeeds. To free a non-NULL children list when it
is no longer needed, use XFree.
BUGS
This really should return a screen *, not a root window ID.
SEE ALSO
XFree(3X11), XGetWindowAttributes(3X11), XQueryPointer(3X11)
Xlib - C Language X Interface
X Version 11 libX11 1.2.1 XQueryTree(3)