8. Solid, quality Linux distro (Long history)
It's the base for another famous Linux distros (e.g. Ubuntu)
Non-profit, non-commercial
Applicable to a wide range of users and uses
Easily obtained and updated
http://www.debian.org/
8
Starting with Linux
14. /bin Essential binary commands
/boot Boot loader static files
/dev Devices' files
/etc System specific configuration
/root Root's home file
/home Users home folder
/lib Kernel modules and essential shared libraries
/libX Alternative essential shared libraries
/media Removable devices mount point
/mnt Temporary filesystem mount point
/opt Additional software packs
/sbin Essentail system binaries
/srv Service data provided by the system
/tmp Temporary files
/usr Secondary hierarchy
/var Variable data
14
Starting with Linux
18. chown [OPTION]... [OWNER][:[GROUP]] FILE...
-c, --changes like verbose but report only when a change is made
--dereference affect the referent of each symbolic link, rather than the symlink
-h, --no-dereference affect each symbolic link instead of any referenced file
--from=CURRENT_OWNER:CURRENT_GROUP
change the owner and/or group of each file only if its current owner and/or group match those
specified here. Either may be omitted, in which case a match is not required for the omitted
attribute.
--no-preserve-root do not treat '/' specially (the default)
--preserve-root fail to operate recursively on '/'
-f, --silent, --quiet suppress most error messages
--reference=RFILE use RFILE's owner and group rather than specifying
OWNER:GROUP values
-R, --recursive operate on files and directories recursively
-v, --verbose output a diagnostic for every file processed
The following options modify how a hierarchy is traversed when the -R option is also specified.
If more than one is specified, only the final one takes effect.
-H if a command line argument is a symbolic link to a directory,
traverse it
-L traverse every symbolic link to a directory encountered
-P do not traverse any symbolic links (default)
--help display this help and exit
--version output version information and exit
18
Starting with Linux
19. chmod [options] mode[,mode] file1 [file2 ...]
# Permission rwx
7 Full 111
6 Read and write 110
5 Read and execute 101
4 Read only 100
3 Write and execute 011
2 Write only 010
1 Execute only 001
0 None 000
19
Starting with Linux
20. chmod [references][operator][modes] file ...
Ref Class Description
u User Owner of the file
g Group Users who are members of the file's group
o Others Users who are neither the owner nor the file's group
a All All of above or ugo
Op Description
+ Adds the specified modes to the specified classes
- Removes the specified modes from the specified classes
The modes specified are to be made the exact modes for
=
the specified classes
Mode Name Description
r Read Read a file or list a directory's contents
w Write Write to a file or directory
x Execute Execute a file or recurse a directory tree
20
Starting with Linux
21. Starting with Linux by Mesi Rendón is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.
21
Starting with Linux