or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
Introduction to Unix Shell: Automating the boring parts
Monday, May 17th, 2021 3:00-5:00
Back to Resbaz HackMD Directory
Workshop Summary
In this workshop participants will be introduced to;
No prior command-line experience is required. Mac and Linux users will already have a Unix shell terminal installed. If you have a Windows machine, we ask you to download Git-Bash (https://git-scm.com/downloads, a Unix Shell for Windows) ahead of the workshop.
Getting Started
Introductions
What is the Unix Shell?
Why learn how to use the Unix shell?
Opening a Unix Shell
Windows: Press the ⊞ Windows Key on your keyboard, then find Git Bash and open it.
Mac: Press ⌘ Command + Space Bar on your Mac Keyboard. Type in “Terminal” when you see Terminal in the Spotlight search list, click it to open the Terminal app.
Linux: Use Ctrl+Alt+T to open a Terminal or search for it in applications.
When the shell is first opened, you are presented with a prompt $, indicating that the shell is waiting for input:
Workshop Activities
We'll run through the most useful commands first, then depending on time create a shell script together to rename some files
Essential commands
Some more essential commands
How is the pace so far…?
View and change files
Creating a shell script to change the names of some files
If we've covered enough for the day, we can skip to Workshop Close Out and those interested in creating a shell script can come back to here…
First we need to open a text file to write the script in.
This is the shell script that we'll go through together;
Running a shell script
Workshop Close Out
Questions and Answers
In this section, you can post your questions and feel free to answer if you have it. Questions will be answered during or after the workshop.
Links to additional resources
Session Feedback
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Use the link below to provide your feedback on the session:
Session Feedback Form