time -l date ==> bash: -l: command not found Bug?

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default time -l date ==> bash: -l: command not found Bug?

    "time" doesn't seem to accept any options. The first thing on the line after "time" is taken as the utility to execute. I need the -l option.
    Am I misusing "time" or what?
    P. B. S. Guest

  2. Similar Questions and Discussions

    1. problem using bash variables with command-line perl in bash script
      Hi! I have a problem with variables when using command-line perl in a bash script. The script should update a date (in 2003-10-10 form) if the...
    2. cron bash date
      Hello, I am trying to run a bash script in cron. I originally wanted it to run at 11:59pm on the last day of every month. February will always...
    3. /bin/bash: cvs: command not found
      I'm trying to do a cvs checkout from a remote machine running SSH Version 1.2.25 , protocol version 1.5. Say the user is "foo", and they have...
    4. bash: get file modification time query
      * David selby (debian@pusspaws.net) : stat -c "%y" $filename good times, Vineet -- http://www.doorstop.net/ -- #include<stdio.h>
    5. bash: display running foreground command in xterm title
      How can I get bash to display the currently running command (at least the foreground process) in the titlebar of an xterm? All I'm finding on Google...
  3. #2

    Default Re: time -l date ==> bash: -l: command not found Bug?

    On Fri, Feb 25, 2005 at 04:00:49AM +0200, P. B. S. wrote:
    > "time" doesn't seem to accept any options. The first thing on the line after "time" is taken as the utility to execute. I need the -l option.
    > Am I misusing "time" or what?
    > _______________________________________________
    Your shell (apparently bash) provides a builtin time function. If
    you want to use FreeBSD's time(1) binary, call it by absolute path
    (/usr/bin/time)

    Kris
    Kris Kennaway Guest

  4. #3

    Default Re: time -l date ==> bash: -l: command not found Bug?

    in message <20050225020659.GA75395@xor.obsecurity.org>,
    wrote Kris Kennaway thusly...
    >
    > On Fri, Feb 25, 2005 at 04:00:49AM +0200, P. B. S. wrote:
    PBS, Do wrap lines around 69 or so characters to give me no
    incentive to ignore your mail otherwise.
    > > "time" doesn't seem to accept any options. The first thing on
    > > the line after "time" is taken as the utility to execute. I need
    > > the -l option. Am I misusing "time" or what?
    >
    > Your shell (apparently bash) provides a builtin time function. If
    > you want to use FreeBSD's time(1) binary, call it by absolute path
    > (/usr/bin/time)
    Look also in bash(1) man page which states somewhere to use '\' in
    order to use the real command (as it appears in $PATH of course) and
    avoid built-in/alias.


    - Parv

    --

    Parv Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139