diff --git a/site/pages/cmd/advanced/bc.html b/site/pages/cmd/advanced/bc.html
index db0ca58..13c55ba 100644
--- a/site/pages/cmd/advanced/bc.html
+++ b/site/pages/cmd/advanced/bc.html
@@ -11,7 +11,7 @@ next-page: pages/cmd/advanced/colrm.html
In computing, bc
is a command in Unix operating systems that can do easy
calculations in the shell.
-Usually input are passed using the echo
command and pipes.
+Usually input is passed in using the echo
command and pipes.
The name stands for Basic Calculator.
@@ -21,9 +21,9 @@ echo "(12 / 2 - 3) * 3 + 1.5" | bcInteractive mode
-Using the interactive mode makes you do calculations freely in a special shell inside the shell. +Using the interactive mode lets you do calculations freely in a special shell inside the shell. All you need to do is run the bc command with the-i
flag -and no parameter.
+and no parameters.
To exit the interactive mode, write quit.diff --git a/site/pages/cmd/advanced/colrm.html b/site/pages/cmd/advanced/colrm.html index ce8d746..e671642 100644 --- a/site/pages/cmd/advanced/colrm.html +++ b/site/pages/cmd/advanced/colrm.html @@ -8,7 +8,7 @@ title: colrm previous-page: pages/cmd/advanced/bc.html next-page: pages/cmd/advanced/comm.html --- -The-How you can see, if I don't indicate the last column, the command removes -all the colums starting from 4 included. +As you can see, if I don't indicate the last column, the command removes +all the columns starting from 4 included.colrm
is a command that removes the column that you indicate
+colrm
is a command that removes the column that you indicate
Here we have a file namedexample.txt
that contains two lines to test this command:
@@ -28,13 +28,13 @@ colrm 4 < example.txt abccolrm 2 4 < example.txt 156789 aefghi-Here, how you can see, the command has removed not all the columns, but only the colums that -starting at 2 and ending at 4, included. +Here, as you can see, the command has not removed all the columns, but only the columns that +between 2 and 4, inclusive diff --git a/site/pages/cmd/advanced/comm.html b/site/pages/cmd/advanced/comm.html index f28c35f..4e8e810 100644 --- a/site/pages/cmd/advanced/comm.html +++ b/site/pages/cmd/advanced/comm.html @@ -9,10 +9,10 @@ previous-page: pages/cmd/advanced/colrm.html next-page: pages/cmd/advanced/diff.html --- Thecomm
is a command that compares two sorted files -line by line and writes the output: the lines that are in common and the lines that are unique.
+line by line and writes the output: the lines they have in common and the lines that are unique.
Here we have two files namedexample1.txt
and -example2.txt
that contain 5 elements, to test this command:
+example2.txt
that each contain 5 elements, to test this command:
example1.txt
{% highlight bash %} @@ -34,7 +34,7 @@ Pizza The syntax command is:-comm [flag][file1] [file2] +comm [flag] [file1] [file2]@@ -50,14 +50,14 @@ comm example1.txt example2.txt
diff
analyzes two files and prints the lines that are different.
+The diff
command analyzes two files and prints the lines that are different.
Essentially, it outputs a set of instructions for how to change one file to
make it identical to the second file.echo
is a command in Unix operating systems that outputs the
-strings it is being passed as arguments.echo "hello world" diff --git a/site/pages/cmd/advanced/grep.html b/site/pages/cmd/advanced/grep.html index cc41e4f..16ac4a1 100644 --- a/site/pages/cmd/advanced/grep.html +++ b/site/pages/cmd/advanced/grep.html @@ -8,10 +8,10 @@ title: grep previous-page: pages/cmd/advanced/emacs.html next-page: pages/cmd/advanced/head-tail.html --- -Thegrep
is a command that permits to search occurences of a -keyword or more in a file or more. Through some flags you can decide the search criteria. +grep
is a command that allows you to search occurrences of one or more +keywords in one or more files. Through some flags you can decide on the search criteria. The command grep is case sensitive (robot is different from Robot), but we will see how -to ignore it.
+to ignore that.
Here we have two files namedexample1.txt
andexample2.txt
that contain 5 elements, to test this command: @@ -50,7 +50,7 @@ Your output will be this because grep found the keyword Robot in both files Here a list that contains the main flags of these command:
grep -i robot example1.txt example2.txt @@ -59,7 +59,7 @@ grep -i robot example1.txt example2.txt
grep -i -v robot example1.txt example2.txt example1.txt:Car @@ -86,6 +86,6 @@ grep -i -c robot example1.txt grep -i -h apple example1.txt example2.txt Apple- How you can see the output doesn't show tha file name
example2.txt
+ How you can see the output doesn't show the file name example2.txt