Home

Publications

CV

Teaching

People

Personal

Misc

find dir -name *.wav -print >....
for i in ??; do mkdir /u/stoia/888Eric/htk/man/$i;done
or: for i in ae aw ...;
>do mkdir $i;
>done
screen
screen -r ==> resume
Ctr+A, d ==>detache the screen
top (shows info about the processes)
printtool (set up printer for linux)
du -h
df -h
(-h - human readable)
jobs
bg id ... (brings it back in background)
C-Z -suspend the job
nice --20...command ==>alters the priority of the command (this gives low priority)
to play a file in matlab:
x=load('a.raw')
soundsc (x,2000)
cut -d':' -f2 (the delimiter and the coulmn number)
matlab ploting..
x=[1:1:100]; (start, step, end)
y=x(1:99) (the elements 1-99 from x)
hold on (draws on top)
plot (x,y) (plot two vectors)
grid on
xlabel('....')
legend('leg1','leg2') (if 2 graphs on the same picture -- plot(x1,y1,x2,y2)
plot(x,'--r') ==> which type of line, and color
emacs shortcuts
C-space=mark
C-w=delete
M-g=go to line
M-w=copy current region
C-x u =undo
M-/=autocomplete
to make ps out of dvi:
dvips name.dvi -o
to make pdf: ps2pdf name.ps
using the cd in linux
ls /mnt/cdrom/
mount ...
umount ...
how to make a ps with 2 pages:
psnup -n 2 name.ps > 2page.ps