130 likes | 341 Views
Linux 101. Mark C. Ballew ACES Program Desert Research Institute. Talk Overview. What is Linux? OS Layout Using the Command line Editing files Networking with SSH Conclude. What is Linux? . History and People Richard M. Stallman No Free Unix Linus Travolds Alan Cox Licensing GPL
E N D
Linux 101 Mark C. Ballew ACES Program Desert Research Institute
Talk Overview • What is Linux? • OS Layout • Using the Command line • Editing files • Networking with SSH • Conclude
What is Linux? • History and People • Richard M. Stallman • No Free Unix • Linus Travolds • Alan Cox • Licensing • GPL • LGPL • BSD
What is Linux? • Distribution Concept • Free Distributions • Fedora Core • Debian and Ubuntu • Gentoo • Slackware • Many, many more • Commercial Distributions • Red Hat Enterprise • Suse • Yellow Dog
OS Layout • File System • Layout • Ownership • Processes • Ownership • Priority • Binary File types • Big Endian • Little Endian
OS Layout: File ownership • Everything is a file • chown • chmod - demo • Owner, Group, Other • d rwx rwx rwx
OS Layout: Processes • Every process is owned by a user • Root ownership • Daemon ownership • User ownership • ps demo
OS layout: Big endian & Little endian • Otherwise known as the “NUXI” problem • Imagine 1025 stored in binary: • 00000000 00000000 00000100 00000001 Most significant value at lowest storage address (i.e., first) Big-Endian memory 00 00000000 01 00000000 02 00000100 03 00000001 Least significant value stored first Little-Endian memory 00 00000001 01 00000100 02 00000000 03 00000000
Using the command line • What is a shell? • Bash • Tcsh • Zsh • Man(ual) pages • cd, ls, rm, mv, cp, ps, mkdir • pwd, who, w, gcc, g77, find, whereis
Editors • vi • Vim • Emacs, xemacs • Nano • OpenOffice • Groff, tex, latex • dos2unix
Networking with ssh • Network security using encryption • Ssh – make remote connections • Scp – copy remote files • Sftp – secure file transfer protocol • X11 forwarding using SSH
Conclusion • Linux is a free (as in freedom) Unix-like operating system • There are many command line tools to learn • Documentation in the man pages • Many different programs to edit files • Ssh is a very useful tool for connecting to remote machines