Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 1.29 KB

2_linux.md

File metadata and controls

34 lines (30 loc) · 1.29 KB

Workshop - Linux re-cap

Short Linux and bash re-cap

A (very short) cheat sheet:

# Print your user name
echo $USER
# change directory to your user home directory (all of these are the same)
cd /home/$USER
cd $HOME
cd ~  # <- the shortest version, I like this one
# show content of current directory
ls
# make a new directory called 'myfolder'
mkdir myfolder
# make conda environment and activate it
mamba create -n nanoplot
conda activate nanoplot
mamba install nanoplot
# Attention, the above command will create a folder 'nanoplot' in your default path, e.g. ~/miniconda3/envs
# However, you can also specify any other folder, and which we will also do in the training:
mamba create -p envs/nanoplot
conda activate envs/nanoplot
mamba install nanoplot
# run a program
NanoPlot reads.fq.gz ...

Next: Setup for computing data