Starting with Linux


Published on

Starting with Linux by Mesi Rendón
Basic concepts for newbies

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Starting with Linux

  1. 1. Starting with Linux Mesi Rendón @mesirendon 1 Starting with Linux
  2. 2. Type of installation 2 Starting with Linux
  3. 3. Dual bootLive CDFresh installVirtual installation 3 Starting with Linux
  4. 4. Selecting a distro 4 Starting with Linux
  5. 5. 5Starting with Linux
  6. 6. Stable code baseChangingUpgrading softwareUpgrading between versionsLarge developer base 6 Starting with Linux
  7. 7. 7 Starting with Linux
  8. 8. Solid, quality Linux distro (Long history)Its the base for another famous Linux distros (e.g. Ubuntu)Non-profit, non-commercialApplicable to a wide range of users and usesEasily obtained and updated 8 Starting with Linux
  9. 9. Starting the installation 9 Starting with Linux
  10. 10. Partitioning Hard Drives in Linux 10 Starting with Linux
  11. 11. 11Starting with Linux
  12. 12. Directory Structure of Linux 12 Starting with Linux
  13. 13. 13Starting with Linux
  14. 14. /bin Essential binary commands/boot Boot loader static files/dev Devices files/etc System specific configuration/root Roots 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
  15. 15. In Linux everything is a file. 15 Starting with Linux
  16. 16. Filesystem 16 Starting with Linux
  17. 17. File Persmissions 17 Starting with Linux
  18. 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_GROUPchange the owner and/or group of each file only if its current owner and/or group match thosespecified here. Either may be omitted, in which case a match is not required for the omittedattribute.--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 RFILEs owner and group rather than specifyingOWNER:GROUP values-R, --recursive operate on files and directories recursively-v, --verbose output a diagnostic for every file processedThe 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. 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. 20. chmod [references][operator][modes] file ... Ref Class Description u User Owner of the file g Group Users who are members of the files group o Others Users who are neither the owner nor the files 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 classesMode Name Description r Read Read a file or list a directorys contents w Write Write to a file or directory x Execute Execute a file or recurse a directory tree 20 Starting with Linux
  21. 21. Starting with Linux by Mesi Rendón is licensed under aCreative Commons Attribution-ShareAlike 3.0 Unported License. 21 Starting with Linux