Module 1 : Unix Basics, Data Access¶
Class Resources¶
Table of Contents¶
Setup tips and tricks¶
- Add color to your terminal output
- Mac
- Other Mac (has options for light terminal themes)
- TSCC and Linux. Copy this
.dircolors
file to your home directory (remember that cd
by itself takes you to your home directory, specifically /home/ucsd-train##/
on TSCC)
cd ; wget https://raw.githubusercontent.com/biom262/biom262-2016/master/weeks/week01/helpful_files/.dircolors
- Add these lines to your
~/.bashrc
:
eval "`dircolors -b ~/.dircolors_test`"
alias ls='ls --color=auto'
alias ll='ls -lh'
alias la='ls -lha'
alias l='ls -CF' # .bashrc
* [Windows/Cywin](http://randomartifacts.blogspot.com/2012/10/a-proper-cygwin-environment.html) - Similar To TSCC
- Some of the issues people were having during the exercises were because
1
('one') and l
(lowercase 'ell') looked alike, or 0
('zero') and O
(uppercase "Oh") looked too similar. Unfortunately, many default monospace (aka, fixed-width, typewriter-style) fonts aren't designed for writing software and it's hard to tell the difference between these tricky characters. We recommend using a nice monospaced font for your terminal (Terminal on Mac/Linux, Putty/Cygwin for Windows)
- List of nice monospaced fonts + side by side comparison
- We like Anonymous Pro, Source Sans Pro, and Inconsolata.
- Key characters that can be hard to distinguish in poorly designed fonts (at least for developers):
1
("one") and l
(lowercase "ell")
0
("zero") and O
(uppercase "oh")
- Jamison + Olga recommend Oh My Zsh as an alternative shell for your laptop. (Not authorized for use on TSCC.)