🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.folklore.computers
1 messages
1 total messages Started by lei... Leila Burrell-Davis Tue, 16 Jan 1990 16:44
Re: rm *
#985
Author: lei... Leila Burrell-Davis
Date: Tue, 16 Jan 1990 16:44
15 lines
1206 bytes
[Sorry if this has been suggested before, I only just noticed this
discussion.]

A simple tip which I picked up somewhere to avoid inadvertent 'rm *'
commands is to have a file called -i in each directory (create with
'touch ./-i'). If you type 'rm *', the first file in the directory
is (almost) certain to be -i, which will be interpreted as a flag to
the command rather than as a filename and will put rm into
interactive mode. I find this a useful safeguard and only very
rarely irritating.
-- 
Leila Burrell-Davis, Computing Service, University of Sussex, Brighton, UK
Tel: +44 273 678390   Fax: +44 273 678335  JANET: leilabd@uk.ac.sussex.syma
INTERNET: leilabd%syma...@nsfnet-relay.ac.uk
BITNET: lei...@syma.sussex.ac.uk      UUCP: leilabd@syma.uucp
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads