diff --git a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/120-awk.md b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/120-awk.md index 10b818700..e7f5a3ad7 100644 --- a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/120-awk.md +++ b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/120-awk.md @@ -1 +1,11 @@ -# Awk \ No newline at end of file +# awk + +`awk` is a general-purpose scripting language used for manipulating data or text and generating reports in the Linux world. It is mostly used for pattern scanning and processing. It searches one or more files to see if they contain lines that match the specified patterns and then performs the associated actions. + +It has the below syntax: + +`awk options 'selection_criteria {action}' input-file > output-file` e.g. `$ awk '{print}' file.txt` + +Free Content +What is AWK? How to use it? +How AWK works? \ No newline at end of file diff --git a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/121-sed.md b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/121-sed.md index 1a9c250c0..54b7caeab 100644 --- a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/121-sed.md +++ b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/121-sed.md @@ -1 +1,12 @@ -# Sed \ No newline at end of file +# sed + +`sed`(**S**tream **Ed**itor) command in UNIX can perform lots of functions on file like searching, finding and replacing, insertion or deletion. By using SED you can edit files even without opening them in editors like [VI Editor](https://www.redhat.com/sysadmin/introduction-vi-editor). + +It has the following syntax: + +`$ sed [options].. [script] [input-file]` e.g. `$ sed 's/search-regex/replacement-txt/g' file.txt` + +Free Content +What is SED? with examples +Detailed Manual + diff --git a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/122-grep.md b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/122-grep.md index 23eb0693a..8b4b553d5 100644 --- a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/122-grep.md +++ b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/122-grep.md @@ -1 +1,11 @@ -# Grep \ No newline at end of file +# grep + +The `grep` command (**g**lobal search for **r**egular **e**xpression and **p**rint out) searches file(s) for a particular pattern of characters, and displays all lines that contain that pattern. It can be used with other commands like `ps` making it more useful. + +It has the following syntax: + +`$ grep [options] pattern [files]` e.g. `$ grep "search-regex" file-1.txt` + +Free Content +What is Grep? with examples +Detailed Manual \ No newline at end of file diff --git a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/123-sort.md b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/123-sort.md index 14752aa76..aeb6e9485 100644 --- a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/123-sort.md +++ b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/123-sort.md @@ -1 +1,12 @@ -# Sort \ No newline at end of file +# sort + +`sort` command is used to sort the contents of a file in a particular order. By default, it sorts a file assuming the contents are in ASCII. But it also can also be used to sort numerically by using appropriate options. + +It has the following syntax + +`$ sort [options].. input-file` e.g. `$ sort file.txt` + +Free Content +Sort command with examples +Options + diff --git a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/126-cat.md b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/126-cat.md index 3b1eb18e1..d07d40c50 100644 --- a/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/126-cat.md +++ b/content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/126-cat.md @@ -1 +1,16 @@ -# Cat \ No newline at end of file +# cat + +`cat` (concatenate) command is very frequently used in Linux. It reads data from the file and gives its content as output. It helps us to create, view, and concatenate files. + + +It has the following syntax: + +* View : `$ cat [option] [input-file]` +* Create : `$ cat [content] > [new-file]` +* Append : `$ cat [append_content] >> [existing-file]` + +e.g. `$ cat file.txt` + +Free Content +Cat Command with examples +Options \ No newline at end of file