Fedora Desktop and Ubuntu Server

Ted Penner
Ted Penner used Ask the Experts™
on
Hi,  I'm teaching a class in Linux.  Scary thought!  The students will begin using the class with Fedora Desktop and finish the class using Ubuntu Server.  Both will be individual VMWare VMs for each student, where the VMs will reside on their external drives that they bring with them from class to class.  I need to have them type a command that will save the terminal commands they type for easiest retrieval on their external drive folder for the class.  Is there a good way to do this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
In fedora, the commands should be in the
~/.bash_history files
(that's /home/[username]/.bash_history )
and
/root/.bash_history
if they've switched to root user using
$ su -
password:

I think it should be in the same file[s] on ubuntu, but I'll have to check tomorrow when I'm at my ubuntu machine.
Most Valuable Expert 2013
Top Expert 2013

Commented:
How about "script"?

"man script" for more.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial