vault backup: 2023-08-22 20:52:17

This commit is contained in:
q
2023-08-22 20:52:17 -05:00
parent b26ca2b714
commit d3d32b60b7
4 changed files with 33 additions and 21 deletions

View File

@@ -4,6 +4,10 @@
**Most use command:**
```bash
git clone url ## Clones a repo
git add -A ## Stages all current changes
git commit -m "message" ## Commits all changes located in the Staged area and adds a message
```
**Setting up a new git dev environment:**

View File

@@ -0,0 +1,15 @@
### 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
```