A. Send a message to help@math.utexas.edu describing the problem.
If you want to find out when your account will expire, use
/usr/local/bin/finger name (login name, first name or last name)
If you need to renew your account, fill out the account renewal form (which is available outside RLM 8.114) and get signature from sponsor.
You will be warned 6 months before your account expires, and after that, you will be warned one time a month. But if you do not get your account renewed by the expiration date, your account will be deleted. We suggest you transfer all your files before your account expires.
For further questions, contact computer staff in RLM 8.134, or
Send mail to: Maorong Zou
A. Do the following:
For further questions, contact computer staff in RLM 8.134, or
Send mail to: Jason Leasure
A. Type " yppasswd "and follow the instructions.
Important: You should avoid picking a password that is:
It is a good idea to chose a password with seven or eight characters, including at least one digit, punctuation mark or upper case letter.
A. The usual way to that is by using the command " kill". First use " ps" to get the "pid" of the job to kill:
ps
You get a list of jobs like this:
PID TT STAT TIME COMMAND 9762 p0 S 0:00 -csh (tcsh) 9788 p0 IW 0:27 emacs HandBook.tex 9798 p0 IW 0:01 xdvi -rv -nogrey HandBook 9870 p0 I 0:01 nastyjob 9934 p0 R 0:00 ps 9494 p1 IW 0:00 -tcsh (tcsh) 9818 p3 IW 0:00 -csh (tcsh)
Assuming that you want to kill the job called "nastyjob", whose "pid" is "9870", use the command:
kill 9870
That sends a signal to terminate the job. If that does not work probably the job is ignoring the signal. Then try:
kill -9 9870
which sends a signal that cannot be ignored.
Another way to kill a job in a "civilized" manner is by using a script called " dokill" designed to send several terminating signals in an orderly way:
dokill 9870
A. If you have a computer at home you may want to get a telesys account (ask in the Computation Center), and use ftp, kermit or xmodem.
Otherwise, you may use any Unix or Linux machine with a diskette driver in the department, say one of the Linux machines in the Big Lab. You need a DOS formated diskette of 1.44 Mb. You can format your diskette with "mformat a:". In order to copy a binary file "foo" from the system to the diskette, use
"mcopy foo a:"
or
"mwrite foo a:"
If foo is and ascii (text) file, then use the -t flag:
"mcopy -t foo a:"
or
"mwrite -t foo a:"
In order to copy a binary file "foo" from the diskette to the system, use
"mcopy a:foo directory"
or
"mread a:foo directory"
Where directory is the directory where you want to copy the file. If the file is text, then use the -t flag:
"mcopy -t a:foo directory"
or
"mread -t a:foo directory"
Also, you can list a directory in the diskette with mdir, read a file with mtype, delete a file with mdel, etc.
A. In general the numbered machines with larger numbers are newer and therefore faster, e.g. linux160 is a faster machine than linux16. To figure out what type of processor the machine you are currently on has, type:
cat /proc/cpuinfo
B. Use rup to figure out machine usage in general. For example, to find the load on linux100 type:
rup linux100To get a status update on all the machines on the local network, just type:
rupFor a graphical presentation of the same information, click here.
A. To find what your default printer is, type:
echo $PRINTER
B. To set your default printer, you need to edit either .bashrc or .cshrc, depending on which shell you're using. If you're using tcsh, add the following line to .cshrc:
setenv PRINTER printernameIf you're using bash, add the following line to .bashrc:
export PRINTER=printernameWhere printername is one of biglab, lw8, lw9, lw10, etc.
A. The students should print only on the printers in the small lab of the eight floor (RLM 8.118) and the big lab also in the eight floor (RLM 8.136). Their names are respectivelly "lw8" and "lw8a" (or "biglab"), but if no printer name is given then "lw8" will be used by default. Hence, to print a file "foo" on the small lab printer, use:
lpr foo
To print on the big lab printer, use:
lpr -Plw8a foo
or
lpr -Pbiglab foo
For a list of other printers, look at /usr/local/doc/system/Printers
A. The math department printers now print two pages in one by default. This is to save paper. If you really need the larger font then you use the enscript command:
enscript -Pprintername -B -l filename
where printername is the printer name (e.g., lw8), and filename is the name of the text file to print.
A. Use the pstops command:
pstops 2:0L@.7\(8in,0\)+1L@.7\(8in,5in\) input.ps output.ps
where input.ps is your document. Then print output.ps:
lpr output.ps
A. Public printers lw8, lw8a, lw9, lw10 and lw12 print double sided by default. This is to save paper. To print single sided on these printers, use their simplex names. The simplex names for lw8 is lw8-s etc. For example,
lpr -Plw8-s filenamewill print filename on lw8 single sided. You can also print single sided use the "-l1" or the "-simplex" option to the lpr command:
lpr -Pprintername -l1 filename
lpr -Pprintername -simplex filename
where printername is the printer name (e.g., lw8), and filename is the name of the text file to print.
For a .dvi file use:
dvips filename.dvi -o
lpr -Pprintername -l1 filename.ps
A. In DOS files the end of a line is a sequence of two ascii codes 10 and 13. In UNIX the end of line is just one ascii code 10. The extra ascii code 13 is diplayed as "^M" by some programs. In order to fix it, use the fromdos command:
fromdos < dosfile > unixfile
This converts the DOS file dosfile to the UNIX file unixfile. Also, look how to transfer files in text mode between different systems (the way to do it depends on the program used.)
Faculties and grads can use the printer in the 8.100 to print on department letter heads. This printer has three names match its three paper trays.
front1 manualfeed
front2 tray 2 (always has letterhead)
front3 tray 3 (always has plain paper)For example, the following command prints "file.ps" on letter head:
lpr -Pfront2 file.ps
Error: Can't open display:
What should I do?
A. Before logging in to machine2, or in an X-window opened in machine1, type:
xhost +machine2
This makes machine1 to accept display sent by machine2. Next step is to make machine2 send its display to your monitor. If you are sitting at the console of machine1 then login to machine2 and, if your shell is bash, type:
export DISPLAY=machine1:0
If your shell is C-shell (or tcsh), you must type:
setenv DISPLAY machine1:0
Otherwise, if you are using one of the NCD X-terminals, you need to know the name of the display you are using. You find this out by typing (in an X-window opened in machine1):
echo $DISPLAY
The response should be something like color2.ma.utexas.edu:0.0, in which case, instead of typing machine1:0 in the above, you type color2:0.
At this point the application should send its graphic output normally to machine1. Additional information is available in the man pages for xhost, bash and csh.
A. First you need to work in a Linux machine connected to a scanner, such as linux170 on the 9th floor or linux174 on the 10th floor. You do not need to be seated at that machine, you can also work remotely (do not forget to set the DISPLAY variable in that case). Invoke the scan manager by typing "xvscan". The interface looks very similar to the interactive image display xv. Click the right mouse button on the logo when it appears; an interface window will pop up. Click on the "windows" menu button and select "scanner" from the menu to pop up the scanner interface window. Put the document to be scanned on the glass of the scanner an close its lid. Click on "Quick Scan". In a while a window with the image scanned appears. Reposition the original if necessary and repeat until getting the desired result. Then click on "Scan" to get the final image. Now you can manipulate the image in the usual way (as if you were using "xv"). Then click on "Save", select a format, give a name to the file (in "Save file:"), and confirm by clicking "Ok". Quit by clicking on "Quit". Check the result with "xv".
A. First, run check.forward in an xterm window. Then, create a file /d/mfile/$USER/.forward with the following line:
\john, john@doe.com
assuming that your "name" here is john. Additional information in the man pages for mail and aliases.
A.
Soon there will be a script to rewrite your mail file to deal with this problem. Watch this space!
A. One way is to use the chmod command. For instance, the command "chmod go-r foo" will make the content of the file foo unreadable for any "normal" user except yourself. However the superuser will still be able to read the file. Also if a intruder manages to break in the system with your identity or as root, he/she will be able to read your files. Finally, file permitions are of no use to protect email messages sent over the net.
Another solution is encryption. There are several utilities for encryption, such as des, crypt and descrypt. Since they are single-key encryption utilities, they provide protection for files stored in one place, but for email messages they present a problem related to the interchange of the key used for encryption, which should also be used by the recipient in order to decrypt the message.
For email messages the best solution is the pgp (Pretty Good Privacy) program. It allows you to communicate securely with people you have never met, with no secure channels needed for prior exchange of keys. PGP is well featured and fast, with sophisticated key management, digital signatures, data compression, and good ergonomic design. Highly recommendable. Type "pgp -h" or "man pgp" for information about how to use it. The manuals, which are strongly recommended to read, are in
/usr/local/doc/encryption/pgp/
A. Use the secure shell client, ssh. For example, to open a shell on linux100 from any other machine on the department type:
ssh linux100
A. If you want to have web pages on the department's web server then you no longer have to ask: you can set them up yourself. You can use the command /public/bin/gen_homepage on any of the Suns or PCs to do the work for you. This will create a symbolic link from /home/username/.public_html to your web directory. You can then create a document index.html with your home page in the directory ~/.public_html, which actually is a link to /d/www/users/username, where username is your system user name.
Do not create a directory or file~/.public_html since this is
a link to your web directory.For full information on creating web pages please read the new users guide.
A. Insert html code like this:
This page has been visited
<!--#exec cgi="/cgi-bin/counter"-->
times since... (when the counter was set up for the first time)
Make sure that there is a ".htaccess" file in your web home directory (the same where "index.html" is) with the following lines in it:
Options Indexes FollowSymLinks Includes AddType application/x-httpd-cgi .cgi AddType text/x-server-parsed-html .html
A. Use the latex2html program. It is recommended to read its manual first.
A. Look at the Mosaic User Authentication Tutorial. In our system the htpasswd program is in /usr/local/httpd/support/htpasswd.
Last update: , Send comments and questions about this page to: www@math.utexas.edu
This page has been visited 18523 times since June 5, 1996.
www@math.utexas.edu