LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2012, 08:28 AM   #1
errigour
Member
 
Registered: May 2009
Posts: 291

Rep: Reputation: 6
How do I use the multi line feature of linux?


Some times while pasting to terminals linux will display a multiple line prompt, where can I get help on using this? Example is below, when i get that far i always have to ctrl+z or ctrl+c.

Command prompt:
Code:
$ echo "$ cat /usr/local/bin/fol
> #/usr/bin/bash
> cmd /c "start ." >> wget
>
 
Old 06-27-2012, 08:37 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,475

Rep: Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424
you should take care about the quotes. see the man page.
 
Old 06-27-2012, 09:31 AM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,353

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
It's waiting for the close quote
 
Old 06-27-2012, 09:47 AM   #4
errigour
Member
 
Registered: May 2009
Posts: 291

Original Poster
Rep: Reputation: 6
whats the feature called/what do I look up help for?
 
Old 06-27-2012, 09:55 AM   #5
ewalter
LQ Newbie
 
Registered: Jun 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 10

Rep: Reputation: Disabled
Multiple line prompts are usually caused when you end with a trailing \ which tells the terminal that some other thing is missing, or may be start on new line coz previous line was getting small for whatever you're typing
like cat /usr/local/bin/fol\
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] i3 - terminal prompt line endless - unwanted 'feature' ewsmith Slackware 5 02-21-2011 10:18 AM
Store multi-line output into an array in a Linux bash script steven.c.banks Linux - General 5 12-05-2010 03:08 PM
Store multi-line output into an array in a Linux bash script steven.c.banks Linux - General 2 12-17-2009 10:10 AM
Improving the tab command line feature Slith(++1) Linux - General 3 09-23-2005 09:05 PM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration