docs(left): remove unnecessaary file and adding backticks on the readme

This commit is contained in:
miguel 2023-01-17 17:54:48 +00:00 committed by MSilva95
parent 5f517ea08f
commit 6536303937
2 changed files with 4 additions and 27 deletions

View File

@ -13,17 +13,17 @@ $./left.sh
### Hints
To pass the content of a file to a command in a shell, you can use the "<" operator followed by the name of the file. For example, to pass the content of a file named "input.txt" to the cat command, you can use the following command:
To pass the content of a file to a command in a shell, you can use the `<` operator followed by the name of the file. For example, to pass the content of a file named `input.txt` to the `cat` command, you can use the following command:
`cat < input.txt`
The `wc` command is a utility in Unix-like operating systems that is used to count the number of lines, words, and bytes in a file or group of files. The -l option tells wc to only print the line count for each file.
The `wc` command is a utility in Unix-like operating systems that is used to count the number of lines, words, and bytes in a file or group of files. The `-l` option tells `wc` to only print the line count for each file.
For example, if you have a file called "file.txt" and you want to count the number of lines in the file, you can use the following command:
For example, if you have a file called `file.txt` and you want to count the number of lines in the file, you can use the following command:
`wc -l file.txt`
This will print the line count for "file.txt".
This will print the line count for `file.txt`.
> You have to use Man or Google to know more about commands flags, in order to solve this exercise!
> Google and Man will be your friends!

View File

@ -1,23 +0,0 @@
10 random facts
- Avocados are a fruit, not a vegetable. They're technically considered a single-seeded berry, believe it or not.
- The Eiffel Tower can be 15 cm taller during the summer, due to thermal expansion meaning the iron heats up, the particles gain kinetic energy and take up more space.
- Trypophobia is the fear of closely-packed holes. Or more specifically, "an aversion to the sight of irregular patterns or clusters of small holes or bumps." No crumpets for them, then.
- Australia is wider than the moon. The moon sits at 3400km in diameter, while Australias diameter from east to west is almost 4000km.
- 'Mellifluous' is a sound that is pleasingly smooth and musical to hear.
EOF
- The Spice Girls were originally a band called Touch. "When we first started [with the name Touch], we were pretty bland," Mel C told The Guardian in 2018. "We felt like we had to fit into a mould."
- Human teeth are the only part of the body that cannot heal themselves. Teeth are coated in enamel which is not a living tissue.
- It's illegal to own just one guinea pig in Switzerland. It's considered animal abuse because they're social beings and get lonely.
- The Ancient Romans used to drop a piece of toast into their wine for good health - hence why we 'raise a toast'.
- The heart of a shrimp is located in its head. They also have an open circulatory system, which means they have no arteries and their organs float directly in blood.