Here's a short list of basic Linux and Emacs Editor commands that you can print
out for quick
reference. Find VIM commands
here
.
|
<ctrl-d>
|
Logs you out
|
|
<ctrl-alt-del>
|
shutdown and reboot
|
|
startx
|
loads Xwindows
|
|
.
|
means "current directory"
|
|
..
(used with cd ..)
|
means "one directory above the
current directory"
|
|
cd (pathname)
|
changes the directory
|
|
mkdir (directory name)
|
makes a new directory
|
|
<ctrl-c>
|
aborts an executed command
|
|
<ctrl-u>
|
deletes whole command typed
|
|
<tab>
|
word completion
|
|
apropos (word or command)
|
shows all manual pages containing
that string
|
|
cat (filename)
|
scans a file rather than editing
|
|
chsh
|
changes shell
|
|
cp
|
copies a file or directory
|
|
echo $PATH
|
show path where your shell looks for
commands
|
|
echo $SHELL
|
tells what shell you are using
|
|
ln -s (file)(link filename)
|
makes a link to a file
|
|
ls -a
|
lists all files and directories
|
|
ls -l
|
show extra info on files
|
|
man ls
|
brings up a command manual
|
|
more (filename)
|
scans a file a screenful at a time
|
|
mv
|
moves a file or directory
|
|
passwd
|
lets you change your password
|
|
pwd
|
prints the working directory
|
|
rm (filename)
|
removes a file
|
|
rmdir (directory name)
|
removes a directory
|
|
stty (function)(key)
|
configures keyboard funtions
|
|
stty -a
|
shows listing of current keyboard
settings
|
|
xf86config
|
configures X windows
(if you
have it installed)
|
|
The emacs editor
|
basic editor - common commands below
|
|
emacs (filename)
|
envokes editor and opens file to be edited.
|
|
<ctrl-x ctrl-s>
|
saves file
|
|
<ctrl-x ctrl-c>
|
exits the emacs editor
|
|
<ctrl-h>
|
emacs help
|
|
<ctrl-h t>
|
emacs tutorial
|
|
<ctrl-f>
|
move forward one charactor
|
|
<ctrl-b>
|
move backward one charactor
|
|
<delete>
|
delete previous character (like DOS backspace)
|
|
<ctrl-d>
|
delete next charactor (like DOS delete)
|
|
<ctrl-b>
|
move backward one charactor
|
|
<ctrl-w>
|
(cut) kill region
|
|
<ctrl-y>
|
(paste) Yank
|