Skip to main content

Unix

What is "public" software? I'm having trouble with a program installed in /p/bin (type which [programname] to find out where something is installed.) How do I install software in "public"?

The "public" software is anything installed in the /p or /public directory (typically, actual programs are in /p/bin). This software is installed by non-staff (students, researchers, or professors) and is not monitored, installed or maintained by the staff; if you're having trouble with a particular program, contact the person who installed that package (as shown by ls -l) directly, or email public@cs.utexas.edu, which is a mailing list of all people who maintain programs in /public.

When I try to run Firefox it complains "Firefox is already running" and tells me to kill the existing process. How can I fix this?

To find out which machine Firefox is running on, type:
ls -l ~/.mozilla/firefox/*/lock

If there is a lock, it will be a symbolic link pointing to a file with the IP address of the computer where it is running followed by the process ID it is using. To translate IP-ADDRESS to a host name, type:
host <IP-ADDRESS>

The process id should also be present, so type:
rsh <HOSTNAME> kill PID

For example:

~>ls -l ~/.mozilla/firefox/*/lock

Why does "find /" take so long? How do I find a file in the filesystem, knowing its name? How do I use locate? How do I use find?

Please don't use "find /", as it's very slow and a real drain on the network. Use locate by typing locate [string], where [string] is the name of the file you want to find, or part of the name. It's more appropriate to use find to find something in a fairly small area, such as your home directory or a /projects directory, neither of which are searched by locate. The basic find syntax is 'find [path to search] [expression to search for]'; please read the man page for find, for more detailed information.