Files
natto/Tenmado/Linux - Commands & CLI.md

23 lines
446 B
Markdown
Raw Normal View History

2023-08-22 20:52:17 -05:00
### Creating new user/settings
*add new user*
```bash
adduser username #adds new user
```
*change user group to* `sudo`
```bash
usermod -aG sudo user_name #changes user group to a different one, in this case `sudo`
```
*check how many users are using the same machine*
```bash
cat /etc/passwd
```
2024-01-23 21:30:39 -08:00
**Change default from bash to zsh**
```bash
chsh -s $(which zsh) # changes the default shell from bash from zsh
```
2023-08-22 20:52:17 -05:00
2024-01-30 16:42:25 -08:00
### SSH Keys Creation