Re: bash cli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> First, what you call a "cli" appears to be a command.

He undoubtedly uses cli for Command Line Interface, in other words
commands in a terminal window.


Stuart,

I re-read your first few postings and I thought I understood what you
are looking for but still not certain.  I understand that you want to
go back and see the output of commands that ran in a script much like
the history stack to see previously executed commands (which by the
way for the benefit of some who seem to be confused, does not get
populated by commands within a bash shell, only the shell command
itself populates the history).

So if your script did an ifconfig followed by a httpd restart, then a
lsof command, you want to be able to call back the output of those
commands as they were produced when they ran?  I know the script
command will allow you to output commands and their output to a file.
And certainly a redirect (either of the entire script at execution, or
of individual commands within the script) will do that (or the tee as
was suggested if you want both STDOUT and redirect to a file).  But
I'm under the impression that this is something that you've seen done
before simply through a keyboard shortcut that calls the STDOUT stack
which you can then scroll through, which differs from what I and
others have suggested to date.

Is that correct?

Jacques B.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux