Mint tips and tricks
From EECS 182
Mint tips and tricks
(Created page with "# Your username in Mint is "me". Your password is "eecs182". Occasionally, you may need this, for example, when installing software within Mint. # Mint is a full-fledged Linux s...") |
|||
(6 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
# Your username in Mint is "me". Your password is "eecs182". Occasionally, you may need this, for example, when installing software within Mint. | # Your username in Mint is "me". Your password is "eecs182". Occasionally, you may need this, for example, when installing software within Mint. | ||
− | |||
# Mint is a full-fledged Linux system. Mint is a variant of Ubuntu, a popular Linux system. | # Mint is a full-fledged Linux system. Mint is a variant of Ubuntu, a popular Linux system. | ||
+ | # 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! | ||
+ | # Use the backup method provided to you for homeworks. | ||
+ | |||
+ | Popular commands using in Terminal: | ||
− | + | * listing contents of a directory: | |
+ | % ls (list) | ||
+ | * finding where you are in the directory structure: | ||
+ | % pwd | ||
+ | (present working directory) | ||
+ | * changing directory: | ||
+ | % cd [directory] | ||
+ | * changing directory to home: | ||
+ | % 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] | ||
+ | * Taking a screenshot: | ||
+ | Menu -> Accessories -> Take Screenshot | ||
+ | (png or pdf format is fine) |
Latest revision as of 20:27, January 8, 2013
- Your username in Mint is "me". Your password is "eecs182". Occasionally, you may need this, for example, when installing software within Mint.
- Mint is a full-fledged Linux system. Mint is a variant of Ubuntu, a popular Linux system.
- 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!
- Use the backup method provided to you for homeworks.
Popular commands using in Terminal:
- listing contents of a directory:
% ls (list)
- finding where you are in the directory structure:
% pwd (present working directory)
- changing directory:
% cd [directory]
- changing directory to home:
% 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]
- Taking a screenshot:
Menu -> Accessories -> Take Screenshot (png or pdf format is fine)