Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Stuck in IF command, how do i get out !!

    Hey guys, many thanks in advance for help in sorting a simple stupid issue that I will never end up in again !!.
    I typed if config (yes with a space!!) trying to get to ip address, etc. Then I realised what I had done, now I am stuck in the IF command with just a >_ on the screen, tried typing exit, end , etc.
    The linux machine is on a VM and I am working off site, I have worked around it by going onto another session, but for peace of mind I want to know how to get out of this. I was going to try using the break key on my laptop, but this stupid dell dont have one !!



  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Either at home or at work or down the pub
    Ctrl + c should get you out of that one

    The usual suspects to to try are:

    Ctrl + c
    Ctrl + d
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!

    The Fifth Continent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts