LinuxQuestions.org
Help answer threads with 0 replies.
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 12-08-2004, 10:24 AM   #1
ukrainet
Member
 
Registered: Nov 2004
Posts: 107

Rep: Reputation: 15
How to write down result of performance of a command in a file


How to write down result of performance of a command (traceroute for example) in a file
 
Old 12-08-2004, 10:43 AM   #2
damien
Member
 
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
traceroute >> traceroute.txt

Damien
 
Old 12-08-2004, 10:44 AM   #3
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
You mean you want to know how long a command takes to run... and you want that information stored in a file?

Do this:

Code:
# time your_command_here > file_name_here
EDIT:
That doesn't seem to work actually... Sorry.

Last edited by visaris; 12-08-2004 at 10:47 AM.
 
Old 12-08-2004, 10:51 AM   #4
damien
Member
 
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
Oops. One too many >. Sorry 'bout that. Typo.
 
  


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
Output the result of a command to a file darkarcon2015 Linux - Newbie 1 09-24-2005 07:29 PM
Strange ip from the result of tracert command mrpc_cambodia Linux - Networking 4 01-25-2005 07:49 AM
Linux shell command for makefile.in to create a text file and write to it alix123 Programming 8 01-07-2005 09:18 AM
BASH Command Result redhatnoob Programming 2 08-19-2004 07:25 PM
tcpdump -w command doesn't write to file andykerouac Linux - Networking 2 03-03-2004 08:10 AM


All times are GMT -5. The time now is 08: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration