Unix/Linux command - search for a file
As root run 'updatedb', RH may well do that in cron, dunno. Then you just need to 'locate <file>'. updatedb builds a database of all files, so newly installed stuff wont show unless updatedb is run.
cheers guys, the find command found the two I was after.
I'll admit that wasn't difficult; I'm just mentally scared from having to figure out tar switches in a previous life
Stefan
I'll admit that wasn't difficult; I'm just mentally scared from having to figure out tar switches in a previous life

Stefan
OK, next question. Need to copy these files from one box to another. Both run RH, but have no net access and limited commands (it's a secure build of RH e.g. no updatedb command)
How do you mount the floppy and copy files?
Stefan
How do you mount the floppy and copy files?
Stefan
yeah, I'd like to be lazy too, but I can't install anything on these boxes. It's a firewall product that just happens to use a RH kernel. It doesn't even have ping installed 
Stefan

Stefan
Trending Topics
OK, after a quick nosey around Google I found these commands, which thankfully worked for me.
mount -t /dev/fd0 /mnt/floppy
cp <filename> /mnt/floppy
umount /mnt/floppy
Stefan
mount -t /dev/fd0 /mnt/floppy
cp <filename> /mnt/floppy
umount /mnt/floppy
Stefan
in that case, on redHat:
mount /dev/fd0
ls /mnt/floppy
This assumes you have one floppy and its listed in /etc/fstab. You may need to be superuser to do this on some sysems.
You beat me to it :-)
[Edited by Zanlin - 7/29/2003 12:22:14 PM]
mount /dev/fd0
ls /mnt/floppy
This assumes you have one floppy and its listed in /etc/fstab. You may need to be superuser to do this on some sysems.
You beat me to it :-)
[Edited by Zanlin - 7/29/2003 12:22:14 PM]
Thread
Thread Starter
Forum
Replies
Last Post




.
