Common Emacs Commands
C-a
C-d
C-k
C-_
C-x
................
................
................
................
C-f ............
Beginning of line
End of line
Kill line. Also puts the line in the buffer
Undo
Load a new file or an existing file. The name will be
specified in the window below
C-x
C-x
C-x
C-x
2
1
^
o
Split the window into two
Go back to one window mode
Enlarge window
Switch to another window
..............
..............
..............
..............
Alt-x shell ........ Run the shell in the current window
Alt-x goto-line .... Goto a given line
C-x C-c ............ Save buffer and kill Emacs
C-x C-s ............ Save buffer
C-space ............
C-w ................
Alt-w ..............
C-y ................
Set mark
Cut from the cursor to the mark
Copy from the cursor to the mark
Paste from the buffer
Common Linux Commands
cd .................
ls .................
ll .................
mkdir ..............
mv .................
rm .................
rmdir ..............
pwd ................
Change Directory
List information about file(s)
More verbose version of ls
Create new folder(s)
Move or rename files or directories
Remove files
Remove folder(s)
Print Working Directory
cat ................ Display the contents of a file to the screen
more ............... Display output one screen at a time
clear .............. Clear terminal screen
exit ...............
fgrep ..............
kill ...............
man ................
yppasswd ...........
Exit the shell
Search file for lines that match a string
Stop a process from running
Review the help page of a given command
Modify a user password
emacs .............. Common code editor
vi ................. More primitive but ubiquitous editor
nano ............... Another editor
g++ ................ Compile a C++ program
sc ................. Run the style checker on a file
bed ................ Run the test bed on a file
submit ............. Turn in a file