Skip to content

Instantly share code, notes, and snippets.

@nickcharlton
Created October 2, 2011 19:48
Show Gist options
  • Save nickcharlton/1257847 to your computer and use it in GitHub Desktop.
Save nickcharlton/1257847 to your computer and use it in GitHub Desktop.
A Quick Introduction to Linux & A Few TermiSoc Specifics
A Quick Introduction to Linux & A Few TermiSoc Specifics
- [ ] Philosophies
- [ ] Open Source
- [ ] Distributions
- [ ] But first, login (SSH)
You can connect to the server using ssh. Or "secure shell".
If you've ever heard of telnet, it's like that, but doesn't
send everything in plain text.
If you're already using Linux or a Mac, you already have ssh
installed.
If you're using Windows, I suggest PuTTY. putty.nl
<http://putty.nl/>
Either enter "termisoc.org" and your username into PuTTY, or
type 'ssh termisoc.org' and you'll be be asked for your
password to connect. If your system username is different to
your account name, you'll need to prefix it with
<username>@termisoc.org.
There's tons more things you can do with SSH. You can save
typing your password all the time by using public key
authentication. You can forward all of your traffic through
it. Or, you can connect to remote X11 sessions and use them
on your machine.
- [ ] Moving Around the Terminal
Files & Directories.
ls, cat, less
stdin, stdout, stderr & redirection.
The Pipeline Concept.
- [ ] Editing Text (A Little bit of Vim)
You'll find 'vim', or it's predecessor 'vi' on pretty much
every distribution. I also use it pretty heavily.
* Modes
* Moving around.
* Deleting text.
* Copy and Paste.
* Extending and Configuring.
- [ ] Package Management
Debian uses 'aptitude'. Red Hat related distros use 'rpm'
(Redhat Package Manager".
A package manager allows you to install software that someone
has put together. It also allows you to track specific
versions, or just always have the latest version installed.
- [ ] Users and Permissions
- [ ] Passwords
passwd
- [ ] Public Key Authentication
- [ ] Generating Keys
- [ ] Using Keys
- [ ] Key Sharing
- [ ] Users, Groups, Root
- [ ] chown, chmod, chgrp
- [ ] Web Stuff
- [ ] public_html
- [ ] We support: PHP, Ruby, Python & Perl. PHP works right out of
the box. The others need a little bit of configuration. Shout
at me if you want to go down that route.
* [ ] A Few Bits that make up a 'Policy'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment