Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedsami76 committed Aug 10, 2023
1 parent ad0acb9 commit b720fd0
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions linux.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Understanding the Filesystem Hierarchy Standard"
"## Understanding the Filesystem Hierarchy Standard"
]
},
{
Expand Down Expand Up @@ -849,7 +849,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Soft and Hard Links"
"## Soft and Hard Links"
]
},
{
Expand Down Expand Up @@ -927,7 +927,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Copying, moving and renaming files and directories"
"## Copying, moving, deleting and renaming files and directories"
]
},
{
Expand Down Expand Up @@ -977,7 +977,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Finding files"
"## Finding files"
]
},
{
Expand Down Expand Up @@ -1007,6 +1007,14 @@
"`$ find /var/lib code[123]` -- find all files under /var/lib with the names code1, code2 or code3 "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Execute commands on the results of the find** \n",
"`$ sudo find / -size +1 -exec cp {} ~ \\;` -- find any files larger than 1GB then copy them to my home dir"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit b720fd0

Please sign in to comment.