Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-24-2014, 06:00 PM   #1
LQ Newbie
Registered: Jan 2014
Location: The Netherlands
Distribution: Linux Mint Mate 15
Posts: 19

Rep: Reputation: Disabled
how to type multiple command lines in the terminal

I have installed Linux Mint Mate15 in dualboot with WindowsXP and want to migrate my Outlook pst mail files to Thunderbird.
I have copied Outlook.pst and archive.pst to /home/Downloads and according to a method found at the internet I want to type the following command lines in the terminal in order to convert the pst files to Thunderbird format:
cd /home/Downloads
mkdir outlook
mkdir archive
readpst -o ./outlook - M -u -w -e -b Outlook.pst
readpst -o ./outlook - M -u -w -e -b archive.pst

=> How can I enter a next line without breaking off and beginning again at the prompt? I tried Enter, Tab, \n, ;, but nothing worked.

After converting the pst files with readpst I should rename the Inbox folder to avoid a conflict on import as follows:
cd /home/Downloads/outlook/Personal*
mv Inbox OldInbox
cd ../../archive/Archive*
mv Inbox OldInbox

And then switch to Thunderbird to create a new temporary subdirectory "tmp" under "Local Folders" and then:
-> import all messages from a directory
-> also from its subdirectories
and choose in the dialog "home/Downloads/outlook/Personal Folders". Then I am supposed to see in the parent foldersubfolders start to appear under "tmp" when importing is underway.

Thanks if anyone can help me.
Old 01-24-2014, 06:04 PM   #2
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 326

Rep: Reputation: 73
use semicolons: command1; command2 etc

or use command1 && command2, but a failing command stops the execution of whole series, i suggest this

Last edited by gengisdave; 01-24-2014 at 06:05 PM.
1 members found this post helpful.


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] Orinoco PCMCIA Card command lines on terminal joel750 Linux - Newbie 3 10-31-2013 07:03 AM
[SOLVED] CAT command | multiple lines to multiple lines udiubu Programming 11 10-28-2011 06:09 AM
Multiple lines at the command line - how?! jsp_1983 Linux - Newbie 4 02-25-2011 08:04 PM
Multiple lines in terminal seabass341 Linux - Newbie 6 06-08-2009 10:29 PM
Rewriting multiple lines in C++ terminal application bandwidthjunkie Programming 4 04-06-2007 09:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 AM.

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