LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2010, 09:26 AM   #1
neil_payne
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Question running a tcpdump in the background


when attempting to run a tcdump in the background (IPSO) with the following command:

tcpdump & -w filename.pcap -s 1500 -i eth3c0 host 10.10.10.1 &

I get the message:
tcpdump: an interface name must be supplied

however the command runs fine without the '&' at the end of the line
are there syntax restrictions in using the '&' flag?
 
Old 11-08-2010, 02:24 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You have a typo:

Code:
tcpdump & -w filename.pcap -s 1500 -i eth3c0 host 10.10.10.1 &
 
Old 11-16-2010, 03:35 AM   #3
neil_payne
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up

that's it - thanks
 
  


Reply



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
NFS error while running tcpdump. nishith Linux - Server 0 02-12-2010 12:23 AM
What's Running In The Background Suse 10.1 Red Knuckles SUSE / openSUSE 2 06-22-2006 07:55 PM
Running in the background with Linux AlfaRow Linux - Games 1 11-03-2005 03:08 PM
starting a background process running tcpdump on boot butthead Linux - Networking 1 10-15-2003 06:34 PM
Running functions in the background vexer Programming 6 05-02-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:32 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
Open Source Consulting | Domain Registration