Bash Shell Help

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Wires82
Level 1
Level 1
Posts: 2
Joined: Wed Apr 25, 2012 1:36 am

Bash Shell Help

Post by Wires82 » Wed Apr 25, 2012 1:41 am

I am messing around trying to learn the shell, and I entered "sort -f" at the command prompt. Now its just stuck in this command. It allows me to type things , but command such as exit, quit, or anything else do not work. How do I exit this command and get back to the prompt?

dagon
Level 7
Level 7
Posts: 1673
Joined: Mon Dec 06, 2010 4:33 am
Location: Kungälv, Sweden
Contact:

Re: Bash Shell Help

Post by dagon » Wed Apr 25, 2012 1:50 am

Try:
<ctrl> + d

Wires82
Level 1
Level 1
Posts: 2
Joined: Wed Apr 25, 2012 1:36 am

Re: Bash Shell Help

Post by Wires82 » Wed Apr 25, 2012 6:55 pm

Thank you so much. It amazing how something so simple can be so frustrating!

User avatar
Anakinholland
Level 3
Level 3
Posts: 145
Joined: Sun Oct 30, 2011 8:09 am

Re: Bash Shell Help

Post by Anakinholland » Thu Apr 26, 2012 9:39 am

Hya Wires,

Have a look here.

There's 3 things I use most often:

Ctrl+C - Cancel the current command
Ctrl+D - Finish the current entry (works with data-entry commands like cat, sort and mail)
Ctrl+Z - Suspend the current command

Regards,

Anakin
Please Edit your initial post title and add [SOLVED] once your question is resolved.

Post Reply

Return to “Newbie Questions”