Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: command line history?

by Fox (Pilgrim)
on Dec 10, 2009 at 17:27 UTC ( #812254=note: print w/replies, xml ) Need Help??

in reply to command line history?

toolic meant history is a shell built-in, like a bash arg, there's no program history

try  which history

Replies are listed 'Best First'.
Re^2: command line history?
by brp4h (Acolyte) on Dec 10, 2009 at 17:35 UTC
    which history comes back with "no history in <list of PATH variables>"
      exactly, just proving that you can't execute history because there is no such program with this name.

        Bash provides 'type', which will tell you how a command would be interpreted.

        bash$ type history history is a shell builtin

        @_=qw; Just another Perl hacker,; ;$_=q=print "@_"= and eval;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://812254]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2020-06-01 14:28 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (2 votes). Check out past polls.