Wednesday, December 8, 2004

legacy galton help

# synchronize file system
rsync -avz --exclude '*.eps' Penalty aitken:~/donnpc/ .
# dry run - shows only what would have been transferred
rsync -avzn --exclude '*.eps' Penalty aitken:~/donnpc/ . | less

# indent region mode dependent
M - C - \

# rigid tab region
C - x - TAB

# restart pcmcia, network
/etc/rc.d/init.d/pcmcia restart
/etc/init.d/network restart

# create symbolic links
ln -s /home/azubrow/CMAQ_v4.3/data/emis/M_36_EUSA ./emisfiles

# run identical command in all nodes
sshall uptime
sshall w

To run batch jobs in ravana
chmod u+x batch
./batch &

batch:
#!/bin/sh
/usr/bin/nohup nice -5 R BATCH mplefft.r output

Ctrl-z (suspend)
bg (sends process to background)
fg(bring process to foreground)

rm
rmdir
mkdir
mv
chmod 700 mydir (no access to others)

ftp
$ scp * ravana:~/

gunzip filename: unzip
gzip filename: zip
tar xvf filename.tar: extract tar
tar cvf filename.tar filename or directory: merges files

get rid of the ^M:  in vi type
:%s/(ctrl-v)(ctrl-m)//g
in emacs
M-x replace-regexp RET C-q C-m $ RET RET

chsh #changes shell in unix

mail -s "subject" email@galton <> mkdir work_dir
> cd work_dir
> Splus5 CHAPTER
> touch .Data/.Audit
> chmod 0 .Data/.Audit
emacs kk.s   alt-x S+6

No comments:

Contributors

google