Kevin Cho
It's difficult to learn linux from scratch when you have no experience using Linux. I'm running a training course about learning linux for neuroimaging for people in PNL, and this repository includes example files and codes required in the training.
The recordings of each session will be uploaded in https://www.youtube.com/c/KevinKangikCho.
- unix system (linux, mac, or ubuntu windows subsystem)
Unless otherwise mentioned in the class, running the following lines in your terminal will suffice.
# download the code
git clone https://github.com/kcho/linux_tutorial tmp_linux_tutorial
# run the code
cd tmp_linux_tutorial
bash create_example.sh
- Part 1: Useful basic commands (https://youtu.be/L4SpK6kCrYg)
- Part 2: Pipe | (https://youtu.be/iK9gCmB3m0E)
- Part 3: Variable vs String (https://youtu.be/uA5V5tGrCoI)
- Part 4: For loop (https://youtu.be/GChzC7mP9tg)
- Part 5: $PATH (https://youtu.be/DRiCxgtCuIs)
- Part 6: Test your linux skills (https://youtu.be/TbS9ou55fIw) https://github.com/kcho/linux_tutorial/blob/master/tasks/linux_task_1.md
- Part 7: Meta-characters (https://youtu.be/Pbo4KR97Uu4)
- Part 8: Writing Bash script 1 (https://youtu.be/HH8nEePo4Zs)
- Part 9: Writing Bash script 2 & VIM intro (https://youtu.be/QzEjHwJCPZo)
codes.sh
includes example commands used in the class
- ssh from your computer
- echo
- date
- touch
- scp
- advanced ssh
- find
- awk
- pipe
- head
- tail
- grep
- sed
- mailx
- cd -
- bashrc
- ack
- simple loop
- if statement
- function
- crontab
- diff
- Git
- Vim
- do the same thing that simple loop does
- Python