Go Back   Free Porn & Adult Videos Forum > Help Section > Computer and Tech Help > Linux Help
Best Porn Sites Live Sex Register FAQ Search Today's Posts Mark Forums Read
Notices

Linux Help For Linux users and nerds like TimmyW

Reply
 
Thread Tools
Old 29th December 2009, 20:45   #1
Junior Member

Addicted
 
sexyb3rry's Avatar
 
Join Date: Dec 2009
Location: USA
Posts: 265
Thanks: 905
Thanked 713 Times in 209 Posts
sexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Good
Default Filesystem Hierarchy

Since Linux is UNIX-like kernel, its hierarchy is very similar which is a very good thing.
(MacOS, I believe is actually UNIX, not a clone like Linux is. So it shares the same hierarchy)

If you have a Linux OS or a Mac OS, and you go to the very 'top' of your directory you will end up in "/".
(These apply to all Unix-like and Unix-clones systems.)

'/' stands for 'root'. This is at the very top of your filesystem structure. everything else in your system will be contained starting here.

The most common directories are:

Code:
it all begins with '/' (root)

/bin
/boot
/dev
/etc
/home
/lib (32bit libraries)
/lost+found
/media
/mnt
/opt
/proc
/root
/sbin
/srv
/tmp
/usr
/var
* Some Linux distributions will contain extra Directories like FedoraLinux has "/selinux" and 64bit systems have "/lib64" for the the 64bit libraries, since no OS is 'true' 64 bit yet 32bit and 64 bit libraries are shared.

* Notice how each of those folders have a '/' before them because the '/' is at the top. Nothing is above root (/)

Each directory has its own purpose, but since this is a very, very long topic I will post in a daily basis rather than in one post.

Last edited by sexyb3rry; 30th December 2009 at 08:47. Reason: oops
sexyb3rry is offline   Reply With Quote
The Following 7 Users Say Thank You to sexyb3rry For This Useful Post:

Old 30th December 2009, 07:55   #2
Junior Member

Addicted
 
sexyb3rry's Avatar
 
Join Date: Dec 2009
Location: USA
Posts: 265
Thanks: 905
Thanked 713 Times in 209 Posts
sexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Good
Default Intro

Everyone of these directories has a a "file permission" which lists who has access to do what with the file or directory.
The result will look something like this:

Code:
dr-xr-xr-x.   2 root root  4096 2009-12-22 09:15 bin
dr-xr-xr-x.   5 root root  1024 2009-12-21 21:33 boot
drwxr-xr-x.  19 root root  4320 2009-12-30 00:20 dev
drwxr-xr-x. 113 root root 12288 2009-12-30 00:21 etc
drwxr-xr-x.   4 root root  4096 2009-12-08 23:24 home
dr-xr-xr-x.  10 root root  4096 2009-12-09 01:13 lib
dr-xr-xr-x.   9 root root 12288 2009-12-22 09:15 lib64
drwx------.   2 root root 16384 2009-12-08 23:09 lost+found
drwxr-xr-x.   2 root root  4096 2009-12-21 23:19 media
drwxr-xr-x.   7 root root  4096 2009-12-09 12:40 mnt
drwxr-xr-x.   2 root root  4096 2009-08-25 13:06 opt
dr-xr-xr-x. 176 root root     0 2009-12-30 00:20 proc
dr-xr-x---.   6 root root  4096 2009-12-29 14:24 root
dr-xr-xr-x.   2 root root 12288 2009-12-22 09:15 sbin
drwxr-xr-x.   7 root root     0 2009-12-30 00:20 selinux
drwxr-xr-x.   2 root root  4096 2009-08-25 13:06 srv
drwxr-xr-x.  13 root root     0 2009-12-30 00:20 sys
drwxrwxrwt.  64 root root  4096 2009-12-30 00:33 tmp
drwxr-xr-x.  14 root root  4096 2009-12-08 23:15 usr
drwxr-xr-x.  21 root root  4096 2009-12-08 23:22 var
The command to get this output is:

Code:
ls -l /
(this command is pretty much universal on Unix and Unix-like systems. Alexora, open a terminal and type or copy/paste and you will see around the same thing)
The command means
ls = list
-l = long format (this lists the full info about the directory or file)
/ = The root directory which we wanted listed. You can replace this with a different directory or file.

Output might look confusing but it's actually pretty easy. Here is one line of it:

Code:
drwxr-xr-x.   4 root root  4096 2009-12-08 23:24 home
The first 10 characters tell you what if it's a file or directory and lists permissions for all users.

the 'd' tells you it's a directory. If there was a '-' instead of a 'd' it would mean it's a file.
r = read
w = write
x = execute
- = Replaces "r", "w" or "x" if according access type is denied

The first character is file type. The next three are the permissions for the "owner" of the file. Second three are permissions for the "group" and last three are the permissions for others.

Owner Group Others
Code:
drwxr-xr-x
So in this case the Owner can read/write/execute the Group can read/execute and Others can read/execute

Code:
drwxr-xr-x.   4 root root  4096 2009-12-08 23:24 home
I this example the next columns are:
4 = Number of directories
Root = is the owner and/or creator of the file/directory
Root = Group of users the file/directory it belongs to
4096 = Size of file/directory in Megabytes ( I assume...)
2009-12-08 23:24 = Date created or modified
home = name of file/directory all the info belongs to.

(I'm not sure what the "." means... maybe timmy or videodrone can help. When a file or directory in Linux has a "." in the beginning, it means it is a hidden file/directory. But not sure why the period is there )

This is it for now More tomorrow...

Last edited by sexyb3rry; 30th December 2009 at 08:47.
sexyb3rry is offline   Reply With Quote
The Following 6 Users Say Thank You to sexyb3rry For This Useful Post:
Old 17th January 2010, 01:14   #3
Junior Member

Addicted
 
sexyb3rry's Avatar
 
Join Date: Dec 2009
Location: USA
Posts: 265
Thanks: 905
Thanked 713 Times in 209 Posts
sexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Goodsexyb3rry Is Damn Good
Default

Quote:
Originally Posted by timmyw3ar View Post
Good post. I hope you continue.

Hmm.. I'm not sure about the "." either. Maybe you were in the parent directory so it showed them?
Hmm... maybe. Thanks for the tip, I will look into it and continue posting a bit later.
sexyb3rry is offline   Reply With Quote
The Following User Says Thank You to sexyb3rry For This Useful Post:
Old 27th March 2010, 18:15   #4

Newbie
 
Join Date: Dec 2009
Posts: 42
Thanks: 151
Thanked 64 Times in 29 Posts
worthiness is a splendid one to beholdworthiness is a splendid one to beholdworthiness is a splendid one to beholdworthiness is a splendid one to beholdworthiness is a splendid one to beholdworthiness is a splendid one to behold
Default

Bit of thread necromancy, but...

You also have at least one non-standard distro, GoboLinux. http://gobolinux.org/ - does not use the standard hierarchy.
worthiness is offline   Reply With Quote
The Following User Says Thank You to worthiness For This Useful Post:
Old 27th September 2010, 12:46   #5

Virgin
 
Join Date: Sep 2010
Posts: 6
Thanks: 8
Thanked 9 Times in 5 Posts
monogroover will become famous soon enoughmonogroover will become famous soon enough
Default

Quote:
Originally Posted by worthiness View Post
Bit of thread necromancy, but...

You also have at least one non-standard distro, GoboLinux. http://gobolinux.org/ - does not use the standard hierarchy.
Well, GoboLinux does use exactly the same hierarchical paradigm, but it places files where you wouldn't expect them from a traditional point of view.
monogroover is offline   Reply With Quote
The Following 2 Users Say Thank You to monogroover For This Useful Post:
Old 27th September 2010, 13:13   #6

Virgin
 
Join Date: Sep 2010
Posts: 6
Thanks: 8
Thanked 9 Times in 5 Posts
monogroover will become famous soon enoughmonogroover will become famous soon enough
Default

Quote:
Originally Posted by sexyb3rry View Post
Code:
drwxr-xr-x.   4 root root  4096 2009-12-08 23:24 home
I this example the next columns are:
4 = Number of directories
Root = is the owner and/or creator of the file/directory
Root = Group of users the file/directory it belongs to
4096 = Size of file/directory in Megabytes ( I assume...)
2009-12-08 23:24 = Date created or modified
home = name of file/directory all the info belongs to.
In your example above:

The '4096' is actually the size of the directory file, in kilobytes. If you want to find out how much data is held in the directory (including the directory file), then you can do (eg)
Code:
du -sm /home
.. which will tell you the size it takes up, in megabytes.

The '4' is actually the number of hard links to the directory. Every directory will have at least two hard links (one for the usual name, and one for .). Every time a directory is created underneath it, then a new hard links for .. will be created.

Quote:
(I'm not sure what the "." means... maybe timmy or videodrone can help. When a file or directory in Linux has a "." in the beginning, it means it is a hidden file/directory. But not sure why the period is there )
If you mean the dot at the end of the permissions, eg at the end of drwxr-xr-x. - then it's to show that the directory has extended attributes (most Linux filesystems support these).

Cheers
monogroover is offline   Reply With Quote
The Following 3 Users Say Thank You to monogroover For This Useful Post:
Old 18th October 2010, 17:46   #7

Virgin
 
Join Date: Sep 2010
Posts: 6
Thanks: 8
Thanked 9 Times in 5 Posts
monogroover will become famous soon enoughmonogroover will become famous soon enough
Default

No, sticky bits aren't extended attributes, they are standard. EA's can be used for example to establish access control lists but there are potentially lots of uses.
monogroover is offline   Reply With Quote
The Following User Says Thank You to monogroover For This Useful Post:
Old 16th November 2010, 16:55   #8
Junior Member

Virgin
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
cp2141 is on a distinguished road
Default

Very nice little intro to the Linux/UNIX filesystem. Just a little side note, if anyone wants a quick up-to-speed with Linux/UNIX commands and navigating around, see:
http://freeengineer.org/learnUNIXin10minutes.html

Then you might be able to move around the system a lot better and understand what's actually held in the directories sexyb3rry describes.
cp2141 is offline   Reply With Quote
Old 14th January 2012, 14:22   #9
Junior Member

Virgin
 
Join Date: Jan 2012
Posts: 8
Thanks: 2
Thanked 15 Times in 7 Posts
powerofporn has a spectacular aura aboutpowerofporn has a spectacular aura about
Default

Here is Filesystem Hierarchy Standard.
powerofporn is offline   Reply With Quote
The Following User Says Thank You to powerofporn For This Useful Post:
Old 26th October 2015, 15:56   #10
Junior Member

Newbie
 
Join Date: Oct 2015
Posts: 21
Thanks: 6
Thanked 37 Times in 11 Posts
renrouie is just really nicerenrouie is just really nicerenrouie is just really nicerenrouie is just really nice
Default

Thanks for the info.
renrouie is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:02.




vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
(c) Free Porn

Online free porn at mobile phone


holly halston planetsuzyshay evansms americana mr xshae celestine planetsuzynew ponstarssasha grey babysittersbella rossi videossophie howard porntegan pornstarkimmi blaquejackoff instructorskaylyn rossjoon mali hardcoremiranda cosgrave pornnaked pics of shannon elizabethpatricia heaton fakesayana angel escortlady jay planetsuzycristal swift[HF/FS] Milfs Like It Big - Davia Ardell3d sex game garnet and creampie download swfjill kassidy patmkat dennings naked fakessasha grey and girlfriendstawny roberts pornstarcory chase picselisabeth shue leaving las vegas nudekerie sablebratty jamie cbttissy teyraxev high definition planetsuzydanni ashe forumsbrandi wine pornjenni lee peachyforumfree catfight forumanell pornstararielle kebbel sex sceneskobe tai nursebobbi deepthroatbrooke haven pornshay fox iafdbubble butts galore 7nikara porn videosmeg foster nakedjayden jrachel riley freeonesmeg foster pornzooey deschanel fake pornkate middleton naked fakesraquel welch pornamatuer interracial pictureslita hot videoaliya wolf videoslaura prepon pornofree hardcore picture setsbrianna love anal videosclaire stansfield sex pussy picsnicki minaj porn gallerieskira kener pornokiara diane gallerieshd breanne bensonjennifer love hewitt pornmya diamond pornoroxann dawson sexyanastasia harris planetsuzyleean tweeden nudedoctor shameless episode 1john persons comix 4laura san giacomo porncandice nicole gallerybryce dallas howard pornheather hunter torchmandy deemost popular hentai seriessbs 3d porn video