Skip to content

Commit 719952e

Browse files
authored
Merge pull request #5 from eshabaweja/eb-working
added clear and echo commands
2 parents 7c7770c + 825a595 commit 719952e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,19 @@ __22. ```locate``` command__
171171
- ```locate -i hello```: -i argument with the command helps to ignore the case, will also fetch files with Hello or HELLO or heLLo etc.
172172
- ```locate -i *hello*world*```: * helps you to find the files if you remember only some words of the filename, separate them with *, for ex here linux will find any filename with the words "hello" and "world" in them.
173173

174+
__23. ```clear``` command__
175+
- used to clear the terminal screen
176+
- useful when you want to declutter your terminal window
177+
- Syntax: ```clear```
178+
- Keyboard shortcut: `Ctrl + L`
179+
180+
__24. ```echo``` command__
181+
- used to input text and display it on standard output
182+
- used to print files of a specific kind : ```echo *.svg``` or simply `echo *` to list out the files in the current directory
183+
- Syntax: ```echo <option(s)> <string(s)>```
184+
- > 💡 NOTE: The ‘-e‘ option in Linux acts as an interpretation of escaped characters that are backslashed.
185+
- Example: ```echo -e "\vMr. \vStark \vI \vdon't \vfeel \vso \vgood."```: \v creates vertical tab spaces.
186+
174187

175188

176189
---

0 commit comments

Comments
 (0)