Skip to content
Open

Hugo #21

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lorem/ad.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
et

11 changes: 11 additions & 0 deletions lorem/lorem-copy/sed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit,
sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam,
nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur,
vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?Home homini lupus.
\nHome homini lupus.
nHome homini lupus.
4 changes: 3 additions & 1 deletion lorem/sed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, ad
sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam,
nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur,
vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?Home homini lupus.
\nHome homini lupus.
nHome homini lupus.
71 changes: 47 additions & 24 deletions solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:echo \"Hello World\"\n",
"Hello World\n"
]
},
{
Expand All @@ -38,7 +39,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: mkdir submissionfolder"
]
},
{
Expand All @@ -54,7 +55,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: rm -r submissionfolder"
]
},
{
Expand All @@ -70,7 +71,8 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: echo \"Hello World\"\n",
"Hello World\n"
]
},
{
Expand All @@ -86,7 +88,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: mkdir new_dir"
]
},
{
Expand All @@ -102,7 +104,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: rm -r new_dir"
]
},
{
Expand All @@ -118,7 +120,12 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: \n",
"1. cd lab-bash\n",
"2. cd lorem\n",
"mkdir lorem-copy\n",
"3. cp sed.txt\n",
"cp sed.txt lorem-copy/"
]
},
{
Expand All @@ -134,7 +141,9 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"1. cd lorem \n",
"2. cp ~/at.txt/lorem.txt"
]
},
{
Expand All @@ -150,7 +159,10 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: \n",
"1. cd lab-bash\n",
"2. cd lorem\n",
"3. cat sed.txt"
]
},
{
Expand All @@ -166,7 +178,9 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"1. cd lorem \n",
"2. cat at.txt lorem.txt"
]
},
{
Expand All @@ -182,7 +196,9 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"1. cd lorem \n",
"2. head -3 lorem-copy/sed.txt"
]
},
{
Expand All @@ -198,7 +214,9 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"1. cd lorem \n",
"2. tail -3 lorem-copy/sed.txt"
]
},
{
Expand All @@ -214,7 +232,8 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"1. echo \"nHome homini lupus.\" >> lorem-copy/sed.txt"
]
},
{
Expand All @@ -230,7 +249,8 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"1. tail -3 lorem-copy/sed.txt"
]
},
{
Expand All @@ -246,7 +266,8 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"sed 's/et/ET/' lorem/lorem-copy/at.txt"
]
},
{
Expand All @@ -262,7 +283,8 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"whoami"
]
},
{
Expand All @@ -278,7 +300,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: pwd"
]
},
{
Expand All @@ -294,7 +316,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: ls *.txt"
]
},
{
Expand All @@ -310,7 +332,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: wc -l sed.txt"
]
},
{
Expand All @@ -326,7 +348,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: ls lorem*/ | wc -l\n"
]
},
{
Expand All @@ -342,7 +364,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: wc -l 'et' ad.txt"
]
},
{
Expand All @@ -358,7 +380,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: grep -o 'et' ad.txt | wc -l"
]
},
{
Expand All @@ -374,7 +396,7 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command: grep -o 'et' lorem/lorem-copy | wc -l"
]
},
{
Expand All @@ -397,7 +419,8 @@
"cell_type": "raw",
"metadata": {},
"source": [
"The command:"
"The command:\n",
"name=hugo"
]
},
{
Expand Down