Fedora Desktop and Ubuntu Server

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?
frugalmuleAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Darr247Connect With a Mentor Commented:
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.
0
 
woolmilkporcCommented:
How about "script"?

"man script" for more.
0
All Courses

From novice to tech pro — start learning today.