Skip to content
Open
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
Empty file added example.txt
Empty file.
1 change: 1 addition & 0 deletions list_files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ls
10 changes: 10 additions & 0 deletions lorem-copy/at.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
At vero eos ET accusamus ET iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum
deleniti atque corrupti quos dolores ET quas molestias excepturi sint occaecati cupiditate non
provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum ET dolorum fuga.
Et harum quidem rerum facilis est ET expedita distinctio.
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod
maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Temporibus autem quibusdam ET aut officiis debitis aut rerum necessitatibus saepe eveniET
ut ET voluptates repudiandae sint ET molestiae non recusandae.
Itaque earum rerum hic tenETur a sapiente delectus, ut aut reiciendis voluptatibus maiores
alias consequatur aut perferendis doloribus asperiores repellat
4 changes: 4 additions & 0 deletions lorem-copy/lorem.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
10 changes: 10 additions & 0 deletions lorem-copy/sed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
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?
Homo homini lupus
56 changes: 30 additions & 26 deletions solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: echo \"Hello World\""
]
},
{
Expand All @@ -38,7 +38,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: mkdir new_dir"
]
},
{
Expand All @@ -54,7 +54,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: rm -rf new_dir"
]
},
{
Expand All @@ -70,7 +70,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: cp sed.txt ../lorem-copy/"
]
},
{
Expand All @@ -86,7 +86,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: cp at.txt lorem.txt ../lorem-copy/"
]
},
{
Expand All @@ -102,7 +102,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: cat lorem/sed.txt"
]
},
{
Expand All @@ -118,7 +118,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: cat lorem/at.txt lorem/lorem.txt"
]
},
{
Expand All @@ -134,7 +134,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: head lorem-copy/sed.txt -n 3"
]
},
{
Expand All @@ -150,7 +150,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: tail lorem-copy/sed.txt -n 3"
]
},
{
Expand All @@ -166,7 +166,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: echo -e \"Homo homini lupus\" >> lorem-copy/sed.txt"
]
},
{
Expand All @@ -182,7 +182,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: tail lorem-copy/sed.txt -n 3"
]
},
{
Expand All @@ -198,7 +198,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: grep -rl et lorem-copy/at.txt | xargs sed -i 's/et/ET/g'"
]
},
{
Expand All @@ -214,7 +214,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: whoami"
]
},
{
Expand All @@ -230,7 +230,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: pwd"
]
},
{
Expand All @@ -246,7 +246,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: ls *.txt"
]
},
{
Expand All @@ -262,7 +262,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: wc lorem/sed.txt"
]
},
{
Expand All @@ -278,7 +278,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: find -name \"lorem*\" | wc -l"
]
},
{
Expand All @@ -294,7 +294,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: grep \"et\" lorem/at.txt"
]
},
{
Expand All @@ -310,7 +310,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: grep \"et\" lorem/at.txt | wc -l"
]
},
{
Expand All @@ -326,7 +326,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: grep \"et\" lorem-copy/*.txt | wc -l"
]
},
{
Expand All @@ -349,7 +349,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: name=\"Noe\""
]
},
{
Expand All @@ -365,7 +365,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: echo $name"
]
},
{
Expand All @@ -381,7 +381,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: mkdir $name"
]
},
{
Expand All @@ -397,7 +397,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: rm -rf $name"
]
},
{
Expand All @@ -417,7 +417,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The command:"
"The command: for i in *\n",
" do \n",
" lenght=${#i}\n",
" echo \\\"$i, has, $lenght, characters\\\"\n",
" done"
]
},
{
Expand Down Expand Up @@ -536,7 +540,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.8"
"version": "3.11.4"
},
"nbTranslate": {
"displayLangs": [
Expand Down