bibliotheks-und-archivinfor.../01-lc-shell.ipynb

142 lines
3.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Library Carpentry: Unix Shell"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<https://librarycarpentry.org/lc-shell/>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### In das Home-Verzeichnis wechseln"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"cd"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Archiv `shell-lesson.zip` von Library Carpentry herunterladen"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"--2019-09-23 22:41:49-- https://librarycarpentry.org/lc-shell/data/shell-lesson.zip\n",
"Resolving librarycarpentry.org (librarycarpentry.org)... 185.199.109.153, 185.199.108.153, 185.199.110.153, ...\n",
"Connecting to librarycarpentry.org (librarycarpentry.org)|185.199.109.153|:443... connected.\n",
"HTTP request sent, awaiting response... 200 OK\n",
"Length: 35142014 (34M) [application/zip]\n",
"Saving to: shell-lesson.zip\n",
"\n",
"shell-lesson.zip 100%[===================>] 33.51M 58.1MB/s in 0.6s \n",
"\n",
"2019-09-23 22:41:49 (58.1 MB/s) - shell-lesson.zip saved [35142014/35142014]\n",
"\n"
]
}
],
"source": [
"wget https://librarycarpentry.org/lc-shell/data/shell-lesson.zip"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Archiv in den Ordner `shell-lesson` entpacken und Archiv löschen"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Archive: shell-lesson.zip\n",
" inflating: shell-lesson/000003160_01_text.json \n",
" inflating: shell-lesson/2014-01-31_JA-africa.tsv \n",
" inflating: shell-lesson/2014-01-31_JA-america.tsv \n",
" inflating: shell-lesson/2014-01_JA.tsv \n",
" inflating: shell-lesson/2014-02-02_JA-britain.tsv \n",
" inflating: shell-lesson/33504-0.txt \n",
" inflating: shell-lesson/829-0.txt \n",
" inflating: shell-lesson/diary.html \n",
" inflating: shell-lesson/pg514.txt \n"
]
}
],
"source": [
"unzip shell-lesson.zip -d shell-lesson && rm shell-lesson.zip"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Los geht's...\n",
"\n",
"Öffnen Sie ein Terminal (`File` > `New` > `Terminal`) und beginnen Sie mit Kapitel 2 \"Navigating the Filesystem\":\n",
"\n",
"<https://librarycarpentry.org/lc-shell/02-navigating-the-filesystem/index.html>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Bash",
"language": "bash",
"name": "bash"
},
"language_info": {
"codemirror_mode": "shell",
"file_extension": ".sh",
"mimetype": "text/x-sh",
"name": "bash"
}
},
"nbformat": 4,
"nbformat_minor": 4
}