LinuxQuestions.org
Visit Jeremy's Blog.
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 09-12-2003, 04:09 AM   #1
zerog
LQ Newbie
 
Registered: Sep 2003
Distribution: rh9/mdk9
Posts: 18

Rep: Reputation: 0
command line


I've installed qmail, and the docs say to test it using
/var/qmail/bin/qmail-inject
and then something below.

how do i send this command? it seems to be something about "end of file" but nothing I found through google works, such as "look in your /etc/inputrc".

Also when I enter a command such as md5sum wihtout a filename, it sort of "freezes" as well. Would the "end of file" work here too?

Finally is there a way to stop whatever is happening on the command line before it finishes, such as a long compile process?
 
Old 09-12-2003, 04:15 AM   #2
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
Re: command line

Quote:
Originally posted by zerog
I've installed qmail, and the docs say to test it using
/var/qmail/bin/qmail-inject
and then something below.

how do i send this command? it seems to be something about "end of file" but nothing I found through google works, such as "look in your /etc/inputrc".

Also when I enter a command such as md5sum wihtout a filename, it sort of "freezes" as well. Would the "end of file" work here too?

Finally is there a way to stop whatever is happening on the command line before it finishes, such as a long compile process?
Heh this means that you'll be able to send a message with the inject option. Try:

echo To: your@email.com | /var/qmail/bin/qmail-inject

Hope this helps
 
Old 09-12-2003, 04:46 AM   #3
zerog
LQ Newbie
 
Registered: Sep 2003
Distribution: rh9/mdk9
Posts: 18

Original Poster
Rep: Reputation: 0
I knew that, thats in the qmail docs (forgot to say it works). But how can i use that to send the message subject and body and cc /bcc?
I did post this in the software forum, my question here was actually to find out how to get back to the command line during/after a botched operation.
 
Old 09-12-2003, 05:09 AM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
if its waiting for input then eof(C-d) will work, C-z pauses, and C-c quits.
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 12:24 AM


All times are GMT -5. The time now is 08:48 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