Mint tips and tricks

From EECS 182
Mint tips and tricks
Jump to: navigation, search
Line 3: Line 3:
 
# It is a good idea to back up your files that are inside Mint to a safe place. Mint can occasionally crash. Your laptop can also crash. Every semester, we have a few such cases. To start with, you can use Shared Folders in VMware to share a folder between your laptop and Mint and copy files back-and-forth. To Share a Folder, go to Virtual Machine -> Sharing and follow the obvious prompts.  
 
# It is a good idea to back up your files that are inside Mint to a safe place. Mint can occasionally crash. Your laptop can also crash. Every semester, we have a few such cases. To start with, you can use Shared Folders in VMware to share a folder between your laptop and Mint and copy files back-and-forth. To Share a Folder, go to Virtual Machine -> Sharing and follow the obvious prompts.  
 
The shared folder will be in /mnt/hgfs folder (at least in Fusion). Let us know if it is different in Windows!
 
The shared folder will be in /mnt/hgfs folder (at least in Fusion). Let us know if it is different in Windows!
 
 
# Use the backup method provided to you for homeworks.
 
# Use the backup method provided to you for homeworks.
 
 
# Command commands using in Terminal:
 
# Command commands using in Terminal:
  
* listing contents of a directory: ls    (list)
+
* listing contents of a directory:
* finding where you are in the directory structure: pwd  (present working directory)
+
ls    (list)
* changing directory: cd [directory]
+
* finding where you are in the directory structure:
* changing directory to home: cd
+
  % pwd  
* viewing a file in Terminal: more [filename]
+
  (present working directory)
* starting the Python interpreter: python
+
* changing directory:
* compiling a C++ program: g++ -Wall -g [.cpp files] -o [outputfile]
+
cd [directory]
* debugging a C++ program: gdb [outfile]
+
* changing directory to home:  
* editing a program: emacs [filename]
+
% cd
 +
* viewing a file in Terminal:  
 +
% more [filename]
 +
* starting the Python interpreter:  
 +
% python
 +
* compiling a C++ program:  
 +
% g++ -Wall -g [.cpp files] -o [outputfile]
 +
* debugging a C++ program:
 +
gdb [outfile]
 +
* editing a program:  
 +
% emacs [filename]

Revision as of 20:24, January 8, 2013

  1. Your username in Mint is "me". Your password is "eecs182". Occasionally, you may need this, for example, when installing software within Mint.
  2. Mint is a full-fledged Linux system. Mint is a variant of Ubuntu, a popular Linux system.
  3. It is a good idea to back up your files that are inside Mint to a safe place. Mint can occasionally crash. Your laptop can also crash. Every semester, we have a few such cases. To start with, you can use Shared Folders in VMware to share a folder between your laptop and Mint and copy files back-and-forth. To Share a Folder, go to Virtual Machine -> Sharing and follow the obvious prompts.

The shared folder will be in /mnt/hgfs folder (at least in Fusion). Let us know if it is different in Windows!

  1. Use the backup method provided to you for homeworks.
  2. Command commands using in Terminal:
%  ls    (list)
 % pwd 
(present working directory)
%  cd [directory]
% cd
% more [filename]
% python
% g++ -Wall -g [.cpp files] -o [outputfile]
%  gdb [outfile]

% emacs [filename]

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
EECS @ UM
Tools