09-16-2013

posted Sep 16, 2013, 8:42 AM by Samuel Konstantinovich   [ updated Sep 23, 2013, 11:27 AM ]
Discussion: Free as in beer vs free as in speech.

Goal1 - TTY: Use your terminals like a boss.

Terminal Stuff

Commands you should know and love:
cp     mv     mkdir    rmdir
ls       cd      pwd      rm
cat    man

Commands you should learn to love:
emacs    ssh    less    more

Cool Commands that won't be used unless you want to be a linux guru:
pico/nano : basic text editors
wc  : word count     
sort  :  sorts things...

Resources:
Very Basic Linux Tutorial for n00bs and forgetful people:  https://www.digitalocean.com/community/articles/an-introduction-to-linux-basics

More detailed Linux/Unix tutorial:


Goal 2: Not all editors are made equal

EMACS:


Emacs is a text editor that you can install on any windows/mac/linux machine.
http://www.gnu.org/software/emacs/   (you have to find the version for your operating system)


c-x is a shortcut that means hold the control key and press x.

***** ADD MORE STUFF HERE ****
*** THIS PART IS BEING WORKED ON***
   c-x c-s or c-x s
            this saves your work
    c-x c-c
            this quits emacs (but asks to save first)
    c-x c-f [name]
            this opens a new/existing file. If the file is not yet existent, it will create a new one.
    c-g
            this will quit or stop the current action when needed.
    c-k
            this will kill (cut) one or more lines of text
    c-space
            this will 'mark' a section of text
    c-w 
            will (kill) cut marked text.
    c-y 
            this will yank (paste) something you killed earlier.

*****************************************
Stupid Emacs tricks:  M-key   is the meta key. It can be Escape or the Alt key.  Escape x  or alt x will trigger the next set of commands. 
M-x tetris
M-x snake
M-x life
Comments