Re: OT: Linux Interview Questions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/13/07 19:09, Pete wrote:
> On Wed, Mar 14, 2007 at 01:43:35AM +0200, Atis wrote:
>> On 3/5/07, Deboo ^ <knowledgeful@gmail.com> wrote:
>>> Can some of you post some Linux questions in general and also about
>>> Debian? May be with short answers but that's not necessary. If I can
>>> get a big list of questions, I'll try to get answers and the more
>>> confident I will be.
>>>
>>> Please also post tricky and troubleshooting questions.
>> How to quit vi?
>
> :q
> :qa! (quit without writing changes, AFAIK)
>
> Here's one that got me for a while :
>
> Q) In the CLI, how do you rm (remove) a file that begins with a hyphen ?
>
> A) rm -- --oops
$ python
import os
os.unlink('--oops')
>
> Regards,
>
> Pete.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF92EyS9HxQb37XmcRAgYeAKDu2p+sJNfT5GMZvNEfW2aii4gg7gCgpwM7
QnQHjndBLadPRJ0AK+xEWNA=
=cnFA
-----END PGP SIGNATURE-----
Reply to: