Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@neeraj-iAaNcG • Aug 6, 2013
pradeep.pawarWhat is a directory in linux and what is parent directory? Are they folders or files?
Also what are pathnames in linux. I really can't get these things in my head.๐จ
please helpYes directories are analogous to folders in windows. Parent directory is the directory in which the child directory resides. Suppose the directory path is /home/support/xyz then support is the parent directory of xyz.
Path names are the paths that lead to a particular directory. there are 2 types of paths
-> absolute path: complete path from root to the directory
-> relative path: path from current directory to another directory
Let me know if you still have doubts -
@pradeeppawar-RAMDdD • Aug 6, 2013
Nick_SharmaYes directories are analogous to folders in windows. Parent directory is the directory in which the child directory resides. Suppose the directory path is /home/support/xyz then support is the parent directory of xyz.
Path names are the paths that lead to a particular directory. there are 2 types of paths
-> absolute path: complete path from root to the directory
-> relative path: path from current directory to another directory
Let me know if you still have doubtsThanks Nick for such a explanation.
But then can directory be considered as a folder like in windows -
@jeffrey-xA7lUP • Aug 6, 2013
pradeep.pawarThanks Nick for such a explanation.
But then can directory be considered as a folder like in windowsDirectory is a folder as in Windows mate
Root Directory is like My Computer From which all folders can be easily opened
PS: Just an example -
@pradeeppawar-RAMDdD • Aug 6, 2013
ConquerorDirectory is a folder as in Windows mate
Root Directory is like My Computer From which all folders can be easily opened
PS: Just an exampleThanks
#-Link-Snipped-# -
@pradeeppawar-RAMDdD • Aug 6, 2013
-
@abhishek-fg9tRh • Aug 6, 2013
pradeep.pawarThanks
Conqueror, then all software and programs we get from software centre installed , are they in root itselfRoot includes every directory : /boot,/lib,/mnt,/dev etc etc.
Don't mix up '/root' with '/' : /root is SU home directory, while / is root of entire File system.
But applications are usually stored in :
/usr/bin
/bin
/sbin
/usr/sbin
You can locate the desired binaries using 'which' or can locate all installed binaries in /usr/bin using 'ls'.
example :

For more information on Linux File-system : Read #-Link-Snipped-#
PS : There might be grammatical mistake & book is still not completed. But whatever information it contains, is correct. -
@pradeeppawar-RAMDdD • Aug 6, 2013
Abhishek RawalRoot includes every directory : /boot,/lib,/mnt,/dev etc etc.
Don't mix up '/root' with '/' : /root is SU home directory, while / is root of entire File system.
But applications are usually stored in :
/usr/bin
/bin
/sbin
/usr/sbin
You can locate the desired binaries using 'which' or can locate all installed binaries in /usr/bin using 'ls'.
example :

For more information on Linux File-system : Read #-Link-Snipped-#
PS : There might be grammatical mistake & book is still not completed. But whatever information it contains, is correct.Thanks