Sponsored Content
Full Discussion: parent directories
Top Forums UNIX for Dummies Questions & Answers parent directories Post 302581998 by austing5 on Wednesday 14th of December 2011 04:13:11 PM
Old 12-14-2011
Quote:
Originally Posted by frappa
Hi austing5,

maybe visualizing the structure of the directories may clarify the concept:

Code:
/                         <-- this is the 'root' directory of linux/unix filesystem
|
+-- home              <-- this is child to '/' and parent to '/home/unix'
    |
    +-- unix          <-- this is child to '/home' and parent to '/home/unix/jones'
        |
        +-- jones

haha yes!! thank you. that clarify's it, very much appreciated!
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

full path of a file situated either in parent's dir. or parent's parent dir. so on...

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

shell-init: could not get current directory: getcwd: cannot access parent directories

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

chmod to parent and sub directories ?

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

Script for parsing directories one level and finding directories older than n days

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

wget assistance to manage parent directories...

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

Copying a files from a filter list and creating their associated parent directories

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

Moving files from several directories into parent

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

forking a child process and kill its parent to show that child process has init() as its parent

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

Giving read write permission to user for specific directories and sub directories.

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
cdnode(4)						     Kernel Interfaces Manual							 cdnode(4)

NAME
cdnode - format of a CDFS cdnode SYNOPSIS
DESCRIPTION
This entry describes the cdnode structure and related concepts for the CDFS file system. The CDFS file system does not have the concept of a separate entity called an inode. The information normally found in an HFS inode is kept in a cdnode data structure. However, the cdnode data structure does not reside on the physical media, but instead is kept in kernel memory space only. The cdnode information is used to uniquely identify a file. The information kept in the cdnode structure is obtained from two other data structures in the CDFS file system: 1. Directory record for the file or directory, and 2. Extended attribute record (XAR) for the file or directory, if one exists. Because few files usually have XARs associated with them, the cdnode information most often consists only of attributes given by the direc- tory record for the file. Since cdnodes are kept in kernel memory, they cannot be directly accessed by the user. The system call attempts to map whatever informa- tion is included in the cdnode for a given file into the standard stat structure (see stat(2)). However, since a cdnode includes informa- tion that does not have corresponding fields in the stat structure, that information cannot be mapped and therefore cannot be accessed. No method is provided to access an entire cdnode structure. FILES
SEE ALSO
stat(2), cdrom(4). cdnode(4)
All times are GMT -4. The time now is 06:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy