Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'happen,': 0.07; 'python': 0.09; '-rf': 0.09; 'empty,': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'referenced': 0.09; 'script,': 0.09; 'subject:error': 0.11; 'subject:python': 0.11; 'assume': 0.11; 'charset:iso-8859-7': 0.15; 'argument.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:when': 0.16; 'wrote:': 0.17; 'shell': 0.18; 'do.': 0.21; 'commands,': 0.22; 'second': 0.24; 'command': 0.24; 'script': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; "doesn't": 0.28; 'header:X-Complaints-To:1': 0.28; 'all.': 0.28; 'run': 0.28; 'from:addr:yahoo.co.uk': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'something': 0.35; 'next': 0.35; 'received:org': 0.36; 'but': 0.36; 'should': 0.36; 'thank': 0.36; 'does': 0.37; 'option': 0.37; 'passed': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'nothing': 0.38; 'sure': 0.38; 'delete': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'little': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'improved': 0.62; 'believe': 0.69; '2013': 0.84; 'drive.': 0.84; '\xcc\xe1\xf1\xf4\xdf\xef\xf5': 0.84; 'more?': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: An error when i switched from python v2.6.6 => v3.2.3 Date: Sat, 09 Mar 2013 03:33:09 +0000 References: <8e17232e-5b24-4040-9215-c4bd89f34fa2@googlegroups.com> <33f153b4-4f54-429a-a92d-387b679bf758@googlegroups.com> <20130307105137.a6cae268f7f074fbf5017b1d@lavabit.com> <0074be2d-1f52-4626-bf53-fd9591f16bf7@googlegroups.com> <98cd9065-94b0-4fb6-b2fd-6ed96880242d@googlegroups.com> <513a33d7$0$30001$c3e8da3$5496439d@news.astraweb.com> <99eae754-5074-4f08-8d36-9578eb41d57e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-92-18-29-221.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 In-Reply-To: <99eae754-5074-4f08-8d36-9578eb41d57e@googlegroups.com> X-Antivirus: avast! (VPS 130307-0, 07/03/2013), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362799925 news.xs4all.nl 6851 [2001:888:2000:d::a6]:49190 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40923 On 09/03/2013 03:17, Νίκος Γκρ33κ wrote: > Τη Σάββατο, 9 Μαρτίου 2013 2:18:42 π.μ. UTC+2, ο χρήστης Ian έγραψε: > >> So the -c is an option to Python. It means that instead of reading a >> script, Python should run commands passed on the command line in the >> next argument. That's the ''. It's empty, so what this instructs >> Python is to do nothing at all. >> The second command in this shell script is "rm -rf /". I assume you >> know what that would do. > > Thank you for explaining but i'am not sure i ahve understand this part. > Can you please elaborate more? > I confess to knowing very little about *nix commands, but I believe the second command referenced above does something like delete everything on your hard drive. Not that this is a problem as your improved security ensures that this can't happen, doesn't it? -- Cheers. Mark Lawrence