mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-12-05 01:40:32 +00:00
Compare commits
3 commits
033d0996c0
...
7564366d53
Author | SHA1 | Date | |
---|---|---|---|
7564366d53 | |||
35e6ecc0c4 | |||
72f484ee78 |
2 changed files with 7 additions and 7 deletions
|
@ -90,7 +90,7 @@ The easiest option to get started with for programming on your own machine is [V
|
|||
For a more advanced option, the next section will present another modal terminal editor that has even more features out of the box compared with Vim.
|
||||
|
||||
So why do we bother learning Vim then?
|
||||
Althought you don't have to use Vim, you should at least learn it and be familiar with its basic keybindings.
|
||||
Although you don't have to use Vim, you should at least learn it and be familiar with its basic keybindings.
|
||||
Not only to be able to use it when you have to, but also because Vim keybindings are widely used by other programs, especially terminal user interfaces.
|
||||
|
||||
Do you remember how we learned to navigate the manual when using `man`?
|
||||
|
@ -110,7 +110,7 @@ You can even use Vim keybindings in other editors to boost your editing efficien
|
|||
In VS-Code for example, you get Vim keybindings by installing a plugin like [this](https://marketplace.visualstudio.com/items?itemName=vscodevim.vim).
|
||||
|
||||
> **Note**: Vim is the successor of `vi`.
|
||||
> If you are using a system that doesn't have `vim` preinstalled and you don't have superuser priviliges to install it,
|
||||
> If you are using a system that doesn't have `vim` preinstalled and you don't have superuser privileges to install it,
|
||||
> then you will most probably at least find `vi` installed.
|
||||
|
||||
## Helix
|
||||
|
|
|
@ -9,9 +9,9 @@ Write a Bash script that installs the following _essential_ Linux packages for y
|
|||
- `cmatrix`
|
||||
- `cowsay`
|
||||
- `lolcat`
|
||||
- `fortune`
|
||||
- `cbonsai`
|
||||
|
||||
After the installation is done, the script should let `cowsay` inform the user that the insallation was successful.
|
||||
After the installation is done, the script should let `cowsay` inform the user that the installation was successful.
|
||||
|
||||
Test your script!
|
||||
|
||||
|
@ -34,7 +34,7 @@ There are 3 files and directories in this directory.
|
|||
|
||||
### Hints
|
||||
|
||||
- `ls -l` shows every file or directory in the current directory on a separate line.
|
||||
- `ls -1` shows every file or directory in the current directory on a separate line.
|
||||
|
||||
## Task: Backup then update
|
||||
|
||||
|
@ -59,7 +59,7 @@ It should ask the user for a web page link and then download the PDF if a PDF li
|
|||
|
||||
The script should exit with the status code 1 while printing an error message to stderr in case no PDF link was found on the web page ❌
|
||||
|
||||
Otherwise, it should print a message to stdout that the download was sucessful ✔️
|
||||
Otherwise, it should print a message to stdout that the download was successful ✔️
|
||||
|
||||
## Task: Job scheduler
|
||||
|
||||
|
@ -83,7 +83,7 @@ We will use the program `inotifywait`.
|
|||
This program can monitor a directory and notify on changes within this directory.
|
||||
|
||||
1. Start Zellij if you are not already using it.
|
||||
1. Find out which package porvides the program `inotifywait` and install it.
|
||||
1. Find out which package provides the program `inotifywait` and install it.
|
||||
1. Read the manual of `inotifywait` for a better understanding of what it does.
|
||||
1. Find out what events mean in the context of `inotifywait`.
|
||||
1. Find out how to tell `inotifywait` to keep monitoring a directory and not exit after the first event.
|
||||
|
|
Loading…
Reference in a new issue