From 80b8c349d9726323a5331b8f4c55907457797d20 Mon Sep 17 00:00:00 2001 From: gunboy001 Date: Sun, 9 Dec 2018 22:28:43 +0100 Subject: [PATCH] netctl and esaurimento nervoso --- linux_general.txt | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/linux_general.txt b/linux_general.txt index 1907c1b..6950b60 100644 --- a/linux_general.txt +++ b/linux_general.txt @@ -25,13 +25,20 @@ NOTE: If all of a sudden everything is fucked up bad (like no GUI whatsowever) check the pacman log at "/var/log/pacman.log" to see what went wrong and what got removed To manage and download packages from the AUR use: - pikaur + pikaur: https://github.com/actionless/pikaur#installation yaourt (unmantained) These are all wrappers which means they extend some functionalities of pacman to use AUR, for example updating and installing packages (-Syu and -S) NOTE: pacman wrappers don't need to be run as root since it's dangerous to run PKGBUILD as such. +-Network management WIP + Arch uses netctl to manage connections, all the config files and examples are under + /etc/netctl/ and /etc/netctl/examples + References: https://wiki.archlinux.org/index.php/Netctl + https://www.raspberrypi.org/forums/viewtopic.php?t=54080 + https://wiki.archlinux.org/index.php/Dhcpcd#Static_profile + # SYSADMIN SECTION -"acpi" is kinda important in laptops "acpi -i" for info, also "thinkpad_acpi" should be noted @@ -79,6 +86,12 @@ Listing all groups: "cut -d: -f1 /etc/group | sort" +-Users: + Creating a new user: + useradd -m user-name + Deleting an existing user: + userdel user-name + -Linux afterinstall (how to get thing working): Bluetooth usage: Refers to: @@ -232,12 +245,18 @@ [Service] Type=idle # Not necessary Environment="TERM=dumb" # Not necessary - ExecStart="PATHTOEXECUTABLE --OPTIONS" + ExecStart=PATHTOEXECUTABLE --OPTIONS [Install] WantedBy=multi-user.target } And then enable it using "systemctl whatever.service enable" + Other method: using crontab + Reference: https://wiki.archlinux.org/index.php/cron#Crontab_format + Install cronie then put your command into the crontab file using + "crontab -e" + Then follow the formatting according to the reference to specify when the command + is executed # NETWORK SECTION