-
Notifications
You must be signed in to change notification settings - Fork 0
Arch Linux Commands & Helpful Content
Lean's edited this page Sep 4, 2023
·
41 revisions
Uncompress
- tar -xvf
Packages Installations
- makepkg -sic
- sudo vim /etc/systemd/system/myscript.service/
[Unit]
Description=This will run after Boot
[Service]
Type=simple
ExecStart=``program location``
- systemctl enable myscript.service
- chmod o=rwx *
Give folder owner
- sudo chown -R Person *
- sudo chgrp -R Person *
- sudo vim /etc/default/grub
- GRUB_DEFAULT="2"
Show Windows in grub
- sudo vim /etc/default/grub
- #GRUB_DISABLE_OS_PROBER=false
- update-grub
Download the update
- tar -xvf discord.tar.gz
- sudo cp -r Discord/* /opt/discord/
- sudo chmod +rwx /opt/discord/discord.desktop
List the disks
- fdisk -l
Select the disk you want to format
- fdisk /dev/sd?
- o, n, default...
Save
- w
Add signature to linux read
- sudo mkfs.ext4 /dev/sd??
Give Permissions
- sudo chown -R person /run/media/person/diskID
- sudo chgrp -R person /run/media/person/diskID