Solved

Fedora Desktop and Ubuntu Server

Posted on 2012-12-22
2
477 Views
Last Modified: 2012-12-28
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?
0
Comment
Question by:frugalmule
2 Comments
 
LVL 44

Accepted Solution

by:
Darr247 earned 500 total points
ID: 38716540
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
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 38716598
How about "script"?

"man script" for more.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question