convert *.eps all.pdf
Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts
Friday, March 5, 2010
Thursday, December 21, 2006
specifying printer lpr
lpr -#2 -sP dj thesis.txt
This command will create a symbolic link to the file thesis.txt in the spool
directory for the printer named dj, where it would be processed by lpd.
It would then print a second copy of thesis.txt.
Monday, December 11, 2006
Tuesday, December 5, 2006
Wednesday, December 8, 2004
ssh without password howto
1. Run "ssh-keygen -t rsa".
2. Save the generated key in the default location.
3. Leave the passphrase blank.
4. Change to the .ssh directory, and append the contents of id_rsa.pub
to the file "authorized_keys." If no authorized_keys file exists, you
can just run "cp id_rsa.pub authorized_keys".
Now you should be able to ssh to department machines without typing
your password. Note that if you're doing this from a non-department
Linux machine, you should do steps 1, 2, and 3 from the command prompt
of your machine, and step 4 from the command prompt of any department
Linux machine. If you're doing this from a department Linux machine,
do all steps on that machine.
- Elliot
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
Subscribe to:
Posts (Atom)