[5102] in RedHat Linux List
Re: Miscellaneous Questions:
daemon@ATHENA.MIT.EDU (Peter Moulder)
Tue Nov 19 01:18:44 1996
Date: Sun, 17 Nov 1996 16:35:01 +1100
From: Peter Moulder <reiter@netspace.net.au>
To: redhat-list@redhat.com
In-reply-to: "Michael J. Yanowitz"'s message of Sat, 9 Nov 1996 14:17:17 -0600
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
In article <9611092017.AA12900@stereotaxis.wustl.edu> "Michael J. Yanowitz" <yanowitz@stereotaxis.wustl.edu> writes:
5) Can a non-root user mount and unmount the cd-rom drive? If so how?
man 8 mount; in particular, see the `user' option.
mount needs to be suid, btw, for this to work.
6) If rpm package f1.rpm contains /usr/man/fax.1 and this installed.
If I want to install rpm package f2.rpm which also contains file
/usr/man/fax.1, can I a) diff the two man pages before installing,
and b) can I install (without forcing) only files that are unique?
Or have all duplicate files automatically backed up?
man rpm2cpio
man cpio
If the two rpm's contain a file in common, then they should be set up
to "conflict" with each other, so I don't think that rpm will allow
you to install both using rpm.
7) Is there a way to get emacs (or xemacs) to follow html links? I
know I can run lynx from a shell, but is there an html mode
built into emacs?
C-h a browse-url-.*
These start up a separate WWW browser (netscape by default).
There is a www mode in XEmacs, I believe.
The html mode in emacs is for writing html documents, and is based on
the sgml mode.
8) How do I get netscape ftp to recognize that file ending in,
say .rpm, is a downloadable file?
I believe it's possible, but I've never bothered to find out.
I just use shift-mouse-1.
If you forget that, then use mouse-3, which gives a menu of many
operations.
9) Is there a way to check to see how many rpms depend on the
existence of a certain file?
man rpm or rpm --help
10) Is there a way to check the present shell type so that I
can do something like:
if (SHELLTYPE == bash)
export DISPLAY=localhost:0.0
else if ((SHELLTYPE == csh) || (SHELLTYPE == tcsh))
setenv DISPLAY localhost:0.0
else
echo ("Unrecognized shell type %s.\n", SHELLTYPE)
Mixing csh-derived and Bourne shell derived shells in one script is
possible but difficult. The problem doesn't usually arise, however.
For the above example:
All Bourne-derived shells accept VAR=VAL; export VAR
All csh-derived shells accept setenv VAR VAL
For other examples, you can usually test the environment variable
$SHELL.
11) Can I give away my old Linux CDs such as?:
RedHat 3.0.3
RedHat 2.1
CND Preview II
Slackware
Linux Monthly's
I don't just want to throw them out, but I would like
to give them away. Do they have any exchange value?
Yes, but I forget where. Search comp.os.linux.announce archives for
"old CD*".
pjm.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null