Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Give us your poor, your tired, your huddled Admins... War Stories Post 30639 by Kelam_Magnus on Thursday 24th of October 2002 04:27:44 PM
Old 10-24-2002
Give us your poor, your tired, your huddled Admins... War Stories

I have been toying with the idea of posting a thread asking for your dumbest mistakes so that we may all learn from each other.

"A smart man learns from his own mistakes,
A wise man learns from others' mistakes"



I think I will start us off. I haven't had too many that were really bad, but here goes. I was playing around on a box as ROOT when I was looking in a certain directory to see what scripts where there.

I was catting them to look but I inadvertently executed one of them when I deleted the cat and left only the command and hit enter by mistake. I didn't notice my handywork right away though. About 15 minutes later, people called me saying they can't login. Anyway, 3 hours later I finally figured out that when I exe that script it changes the permissionsn on your home directory to 444. Well, for me that was /. Smilie Once I fixed that everything was fine.

I had 4 hours of downtime charged to OE, operator error. BTW, this was on a production system at work! Doh!!! Smilie
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

regexp: really tired, guru help needed...

Hello all! Please help me with the following complex regexp which works in egrep: egrep '\"http:\/\/ccc\.bbb\.com\/documents\/0000\/{4}\/(+\.{3})*\"' my-file.htmlBut silently does not work in sed: sed "s/\"http:\/\/ccc\.bbb\.com\/documents\/0000\/{4}\/(+\.{3})*\"/aaa/g" my-file.htmlor sed... (7 Replies)
Discussion started by: ulrith
7 Replies

2. AIX

Poor Performance of server

Hi, I am new registered user here in this UNIX forums. I am a new system administrator for AIX 6.1. One of our servers performs poorly every time our application (FINACLE) runs many processes/instances. (see below for topas snapshot) I use NMON or Topas to monitor the server utilization. I... (9 Replies)
Discussion started by: guzzelle
9 Replies
uuclean(8c)															       uuclean(8c)

Name
       uuclean - uucp spool directory clean-up

Syntax
       uuclean -p[pre] [ options ... ]

Description
       The  command  scans the spool directory for files with the specified prefix and deletes all those which are older than the specified number
       of hours.

       The -ppre argument causes the command to scan for files with pre as the file prefix.  You can specify up to 10 arguments.   A  without  any
       pre following causes all files older than the specified time to be deleted.  You must specify at least one argument.

Options
       -ntime	    Delete  all  files	whose age is more than time, in hours, (default is 72 hours) and that have the specified pre as their file
		    prefix.

       -m	    Send mail to the owner of the file when it is deleted.

       -ssystem     Delete files in all directories that are subdirectories of the per system spool directory that exists for system.  If  ALL	is
		    specified, then all system directories are processed.  ALL is the default.

       -ddirectory  Delete files that reside in the named directory.  The default directory is The option over rides the option.

       The  command typically starts the program.  In earlier versions, a deleted work file (C.file) would result in mail to the owner of the work
       file, regardless of the option.	Now, notification of deleted work files is sent to the user ID "uucp".	If the option  is  used,  mail	is
       also sent to the owner.

Examples
       Here are some example command lines:
       # uuclean -pLTMP. -pLOG. -n4 -d/usr/spool/uucp
       # uuclean -d/usr/spool/uucp/.XQTDIR -p -n
       # uuclean -smarkie -p -n84
       The third example deletes all files for the system that are older than 84 hours.

Files
       Directory with commands used by uuclean internally

See Also
       uucp(1c), uux(1c), cron(8)

																       uuclean(8c)
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy