rm [file]: remove file
cp [old] [new]: copy file
mv [old] [new]: move file (to new location)
rename [old] [new]: rename file
mkdir [dir]: make dir
locate [expr]: find expr in file names
pwd: see current path
ls -l: see dir
cd [dir]: change path
man [command]: see help on command
xemacs [file]: edit file (strg+s: search, strg+x strg+c: escape)
whoami: see user
nohup [exe] [batch] &: start new job in background and perform batch, write console output to nohup.out
ps -x: see running jobs
kill [jobnr]: kill job
tail -f nohup.out: see console output (escape with strg+x strg+c without killing the job)
du: show directory size including subdirectories (-sb, -sk, -sm in bytes, kB, MB)
df .: show free disc space of server hard disc
alias: show command aliases (user-defined abbreviations)
history | grep mak: list all commands consisting of "mak"
var="value": set environment variable
export var: export environment variable to make it available to programs started from shell
echo $var: see environment variable
vi: standard editor, "ESC :q!" = exit, "ESC+i" = edit, "ESC :wq" = save+exit
vi: see also vi compiling c file: gcc in.c -o out (result is executable out)
Java compilieren: javac (result is binary file in.class)
Java starten: java in (executes in.class)
du -ksm /var/* Verzeichnisgroesse bestimmen
crontab -l: crontab ansehen /editieren (-e)
file: filetyp bestimmen