vault backup: 2023-08-22 20:52:17
This commit is contained in:
2
.obsidian/appearance.json
vendored
2
.obsidian/appearance.json
vendored
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"accentColor": "",
|
||||
"cssTheme": "Atom",
|
||||
"baseFontSize": 18
|
||||
"baseFontSize": 15
|
||||
}
|
||||
33
.obsidian/workspace.json
vendored
33
.obsidian/workspace.json
vendored
@@ -30,37 +30,29 @@
|
||||
{
|
||||
"id": "a072d1b7e91691d6",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "graph",
|
||||
"state": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "9f432a9bce2719b4",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Tenmado/Linux - Desktop Entries.md",
|
||||
"file": "Tenmado/Git.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "854472b104f6e806",
|
||||
"id": "0a85e7f4077badd4",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Tenmado/Linux - Neovim.md",
|
||||
"file": "Tenmado/Linux - Commands & CLI.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 4
|
||||
"currentTab": 3
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
@@ -126,7 +118,7 @@
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "Tenmado/Linux - Neovim.md",
|
||||
"file": "Tenmado/Linux - Commands & CLI.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
@@ -143,7 +135,7 @@
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "Tenmado/Linux - Neovim.md",
|
||||
"file": "Tenmado/Linux - Commands & CLI.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
@@ -166,7 +158,7 @@
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Tenmado/Linux - Neovim.md"
|
||||
"file": "Tenmado/Linux - Commands & CLI.md"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -195,14 +187,15 @@
|
||||
"command-palette:Open command palette": false
|
||||
}
|
||||
},
|
||||
"active": "854472b104f6e806",
|
||||
"active": "0a85e7f4077badd4",
|
||||
"lastOpenFiles": [
|
||||
"Tenmado/Docker Compose.md",
|
||||
"Tenmado/Linux - Neovim.md",
|
||||
"Tenmado/Dotfiles.md",
|
||||
"Tenmado/Git.md",
|
||||
"Tenmado/Linux - Desktop Entries.md",
|
||||
"Tenmado/Linux - Commands & CLI.md",
|
||||
"Tenmado/Linux - Neovim.md",
|
||||
"Tenmado/Linux - Games Live Streaming.md",
|
||||
"Tenmado/Linux - Desktop Entries.md",
|
||||
"Tenmado/Dotfiles.md",
|
||||
"Tenmado/Docker Compose.md",
|
||||
"Git",
|
||||
"Tenmado/Linux - Desktop Entries 1.md",
|
||||
"README.md",
|
||||
|
||||
@@ -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