diff --git a/enter/.obsidian/workspace.json b/enter/.obsidian/workspace.json index 5fa3023..9eca71b 100644 --- a/enter/.obsidian/workspace.json +++ b/enter/.obsidian/workspace.json @@ -73,7 +73,7 @@ "state": { "type": "markdown", "state": { - "file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md", + "file": "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md", "mode": "source", "source": false } @@ -146,7 +146,7 @@ "state": { "type": "backlink", "state": { - "file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md", + "file": "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -163,7 +163,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md", + "file": "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -186,7 +186,7 @@ "state": { "type": "outline", "state": { - "file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md" + "file": "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md" } } } @@ -211,6 +211,8 @@ }, "active": "368b690b57efb87a", "lastOpenFiles": [ + "Pasted image 20230809185553.png", + "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md", "Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md", "Coding Tips (Classical)/Terminal Tips/GUIs/About GUIs.md", "Coding Tips (Classical)/Terminal Tips/CLI Tools/CLI Tool Collection/VHS.md", @@ -248,8 +250,6 @@ "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230804094119.png", "Classical", "Machine Tips (Quantum)/Math/Algorithms/Encryption", - "Machine Tips (Quantum)/Math/Linear Algebra Basics.md", - "Machine Tips (Quantum)/Math/Math Software.md", "Untitled.canvas", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230802150926.png", "Coding Tips (Classical)/Project Vault/Comms/RADIO/Hardware", diff --git a/enter/Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md b/enter/Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md index 84665de..caac195 100644 --- a/enter/Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md +++ b/enter/Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md @@ -6,6 +6,13 @@ General self-hosted information flow: --- +Git manual update command Shortcut: +``` +git add . +git fetch +git commit -m "Noted: `date +'%Y-%m-%d %H:%M:%S'`" +git push -u origin main +``` ## Syncing my Obsidian: The Steps I took diff --git a/enter/Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md b/enter/Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md index ec0fabf..fea122b 100644 --- a/enter/Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md +++ b/enter/Coding Tips (Classical)/Terminal Tips/Computers/Linux/KDE/Users.md @@ -1,5 +1,12 @@ As a linux user, we know the difference between a user having root privileges and users without. This is an important thing to understand. Sudo for the win. +![[Pasted image 20230809185553.png]] + +There are 3 kinds of users on linux. +1. Super user +2. System user +3. Normal user + --- ### Adding Users @@ -49,4 +56,12 @@ sudo passwd joe Removing a user: ``` userdel joe -``` \ No newline at end of file +``` + + +### Misc User stuff + +View all users: +``` +cat /etc/passwd +``` diff --git a/enter/Pasted image 20230809185553.png b/enter/Pasted image 20230809185553.png new file mode 100644 index 0000000..472cd22 Binary files /dev/null and b/enter/Pasted image 20230809185553.png differ