Be consistent with showing the prompt (#72)

Co-authored-by: Raf Czlonka <rczlonka@gmail.com>
This commit is contained in:
rjc
2021-10-20 23:56:51 +01:00
committed by GitHub
parent 2aa4c92b40
commit cf55f5e0fd

View File

@@ -325,7 +325,7 @@ $ rm -r my_useless_folder
## remove all files of certain criteria ## remove all files of certain criteria
```shell ```shell
find . -name "*.bak" -type f -delete $ find . -name "*.bak" -type f -delete
``` ```
**IMPORTANT**: run `find . -name "*.bak" -type f` first to see exactly which files you will remove. **IMPORTANT**: run `find . -name "*.bak" -type f` first to see exactly which files you will remove.
@@ -430,7 +430,7 @@ $ killall -9 program_name
**STOP OPENING A BROWSER** :-1: **STOP OPENING A BROWSER** :-1:
```shell ```shell
curl -i umair.surge.sh $ curl -i umair.surge.sh
# curl's -i (--include) option includes HTTP response headers in its output. # curl's -i (--include) option includes HTTP response headers in its output.
``` ```
[Go to table of contents 🔼](#quick-links) [Go to table of contents 🔼](#quick-links)
@@ -518,9 +518,9 @@ This can be useful when you're patching a server that is acessed via SSH and you
```shell ```shell
# poweroff # poweroff
sudo shutdown -h now $ sudo shutdown -h now
# reboot # reboot
sudo shutdown -r now $ sudo shutdown -r now
``` ```
[Go to table of contents 🔼](#quick-links) [Go to table of contents 🔼](#quick-links)
@@ -557,7 +557,7 @@ $ sudo mkfs.exfat /dev/sdb1
## check USB format ## check USB format
```shell ```shell
sudo fsck /dev/sdb1 $ sudo fsck /dev/sdb1
``` ```
[Go to table of contents 🔼](#quick-links) [Go to table of contents 🔼](#quick-links)
@@ -567,7 +567,7 @@ sudo fsck /dev/sdb1
**STOP CLICKING THE FILES ONE BY ONE** :-1: **STOP CLICKING THE FILES ONE BY ONE** :-1:
```shell ```shell
for FILE in *; do echo $FILE; done $ for FILE in *; do echo $FILE; done
``` ```
[Go to table of contents 🔼](#quick-links) [Go to table of contents 🔼](#quick-links)