Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2012
    Posts
    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 !!

    Cheers

    Ste

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

    The usual suspects to to try are:

    Ctrl + c
    q
    :q
    Ctrl + d
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    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
  •