Linux notes

This commit is contained in:
2026-07-02 11:55:49 +02:00
parent 199941da62
commit 2f948109ca
2 changed files with 29 additions and 4 deletions

View File

@@ -108,6 +108,33 @@ tar -xzf yourfile.tar.gz
```
### sync two dirs
```
```bash
unison /path/to/dir/one /path/to/dir/two
```
```
### useradd
```bash
useradd -m -s /bin/bash username
userdel -r username
```
### ssh disable password
https://askubuntu.com/questions/1516262/why-is-50-cloud-init-conf-created
```bash
#/etc/ssh/sshd_config.d/00-only-pubkey-auth.conf
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePam no
```
### Network speed monitor
```bash
slurm
```
### Pull submodules
```bash
git submodule update --init
```

View File

@@ -59,5 +59,3 @@ Restart=always
WantedBy=default.target
```
## CALENDAR