LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 07:28 AM   #1
errigour
Member
 
Registered: May 2009
Posts: 366

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, 07:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 20,772

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

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

Original Poster
Rep: Reputation: 6
whats the feature called/what do I look up help for?
 
Old 06-27-2012, 08: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 09:18 AM
Store multi-line output into an array in a Linux bash script steven.c.banks Linux - General 5 12-05-2010 02:08 PM
Store multi-line output into an array in a Linux bash script steven.c.banks Linux - General 2 12-17-2009 09:10 AM
Improving the tab command line feature Slith(++1) Linux - General 3 09-23-2005 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:32 PM.

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
Open Source Consulting | Domain Registration