From bed1febd1fa6714a52cdb794376eab5bdd4ac6b3 Mon Sep 17 00:00:00 2001 From: Kuldeep Pisda Date: Sat, 17 Nov 2018 10:20:10 +0530 Subject: [PATCH] Update: HTML docs source converted to comment (#21799) * Update: HTML docs source converted to comment * Update: added cd command in linux->10 simple and useful... --- guide/english/html/comments-in-html/index.md | 9 ++++----- .../linux/10-simple-and-useful-linux-commands/index.md | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/guide/english/html/comments-in-html/index.md b/guide/english/html/comments-in-html/index.md index eb4918014f..c08ff8ce22 100644 --- a/guide/english/html/comments-in-html/index.md +++ b/guide/english/html/comments-in-html/index.md @@ -11,12 +11,11 @@ Comments are started with ``, and can span multiple lin ### Example ```html - diff --git a/guide/english/linux/10-simple-and-useful-linux-commands/index.md b/guide/english/linux/10-simple-and-useful-linux-commands/index.md index 7d6a2c3cf7..4d057a0ed3 100644 --- a/guide/english/linux/10-simple-and-useful-linux-commands/index.md +++ b/guide/english/linux/10-simple-and-useful-linux-commands/index.md @@ -16,6 +16,7 @@ Example 2: `echo "Hello world" > hello.txt` 9. `grep` To find lines of text that contain a certain string, use grep. Example: `grep 'root' /etc/passwd # root:x:0:0:root:/root:/bin/bash` 10. `sed` Use sed to find and change a substring in a piece of text. Example: `echo "this, that, and the other" | sed 's/that/those/' # "this, those, and the other"` 11. `shutdown` use shut down the system and turn off the power. Example: `shutdown -h now`shuts down system immediately. `shutdown -h +5` shuts down system after five minutes. You can also reboot the system immediately by issuing the command `shutdown -r now`. +12. `cd` use `cd` to change the directory. Example: `cd dirName` changes the directory to the folder names `dirName`. `cd ..` this command takes to the upper root folder or out of the folder. Use these commands in scripts and at the command line. They're all very powerful commands, and Linux's man page has a lot more information about each one.