From owner-freebsd-questions@FreeBSD.ORG Thu Jul 23 00:41:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0441065670 for ; Thu, 23 Jul 2009 00:41:02 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-gx0-f217.google.com (mail-gx0-f217.google.com [209.85.217.217]) by mx1.freebsd.org (Postfix) with ESMTP id 452DE8FC12 for ; Thu, 23 Jul 2009 00:41:02 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by gxk17 with SMTP id 17so954342gxk.19 for ; Wed, 22 Jul 2009 17:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zzRtPqNyMULIQUwgy+Xm8cTwfB/RSq6B6m/BMBdOjVA=; b=a0sJLIDurXZ3kLSwFmWtxav3LhCU/ZKVH8JhB3z4qqgO+JiZLT/LBgJvzn2uulS4m3 eJDyA5CJkntk6b0uDVA9VhcnoHI+ewnGdujQsx3G88qJlx51DKfVNL+lDh8ZSnkEUHBs uXKG7tDuk+cKanHueTkxyZ9lTSjUb1Xloe+HY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZRmncEWXrW9XBpk2Lzxwr+iQGrqjQEbZT3iSt3B/bGqIS0zHXzpVRFrE9zsPP4ov66 pqANV5fkGT/YocATBZy8Ysa66WCr8+g00SEIz/1LxgBFVSRGVY++i6/SGMpRX0voVjjW 4DUAsSlQYBAImZtKV2kWrvjTxtdh1Zj3ABtco= MIME-Version: 1.0 Received: by 10.90.113.17 with SMTP id l17mr1276215agc.53.1248309661605; Wed, 22 Jul 2009 17:41:01 -0700 (PDT) In-Reply-To: <4A67AC39.2060805@gmail.com> References: <4A67AC39.2060805@gmail.com> Date: Wed, 22 Jul 2009 20:41:01 -0400 Message-ID: From: "illoai@gmail.com" To: jimmiejaz@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: rm -rf and fat fingers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 00:41:02 -0000 2009/7/22 Jimmie James : > So here I was, half asleep, removing some old directories as root, and > here's what I did...sitting in /home/jimmie after su > > jimmie@jimmiejaz <101> [0] /home/jimmie#rm -rf cd /usr/local/lib =A0 (not= e the > space, the PWD is home/jimmie/) > > Now, a lot of libs went missing from /usr/local/lib. With libchk, last > locatedb I've been able to reinstall most of the libs. > My ~/ *seems* unaffected, but I'm worried about that, I don't notice > anything missing, but I could be wrong. > > What I'm thinking is the rm -rf found no 'cd' and moved to wipe out > /usr/local/lib =A0Would this be a correct assumption? > Sounds like you're on the right medicine. If you don't have a ton (that's 2000 in real world measures, or 1000 in beheader speak) of packages, you can always reinstall all of your packages to make sure you've caught every little thing (including things that future packages/ports may wish to link to). Well, you still can with a lot, but that might take a while. And, yes, rm -rf is a naughty naughty boy. Excepting the sense in which he always does exactly as he is told. --=20 --