vault backup: 2023-08-22 20:52:17
This commit is contained in:
@@ -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:**
|
||||
|
||||
15
Tenmado/Linux - Commands & CLI.md
Normal file
15
Tenmado/Linux - Commands & CLI.md
Normal 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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user