Linux introduction: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Marked this version for translation)
No edit summary
Line 42: Line 42:
{{Command|ls -alth}}
{{Command|ls -alth}}


=== Navigating the file system === <!--T:10-->
=== Navigating the filesystem === <!--T:10-->
To move about in the file system, use the <tt>cd</tt> command (change directory).
To move about in the filesystem, use the <tt>cd</tt> command (change directory).


<!--T:11-->
<!--T:11-->
Line 102: Line 102:


<!--T:19-->
<!--T:19-->
Important note: to be able to read or write in a directory, you need to have execute permissions (<tt>x</tt>) set in all parent directories, all the way up to the file system's root ('''<tt>/</tt>'''). So if your home directory has <tt>drwx------</tt> permissions and contains a subdirectory with <tt>drwxr-xr-x</tt> permissions, other users cannot read the contents of this subdirectory because they do not have access (by the executable bit) to its parent directory.
Important note: to be able to read or write in a directory, you need to have execute permissions (<tt>x</tt>) set in all parent directories, all the way up to the filesystem's root ('''<tt>/</tt>'''). So if your home directory has <tt>drwx------</tt> permissions and contains a subdirectory with <tt>drwxr-xr-x</tt> permissions, other users cannot read the contents of this subdirectory because they do not have access (by the executable bit) to its parent directory.


<!--T:20-->
<!--T:20-->
rsnt_translations
53,770

edits

Navigation menu