Skip to content

Arch Linux Commands & Helpful Content

Lean's edited this page Jun 13, 2023 · 41 revisions

Commands

Uncompress

  • tar -xvf

Packages Installations

  • makepkg -sic

Give folder permissions

  • chmod o=rwx *

Give folder owner

  • sudo chown -R Person *
  • sudo chgrp -R Person *

Change grub order

  • sudo vim /etc/default/grub
  • GRUB_DEFAULT="2"

Update-grub

Show Windows in grub

  • sudo vim /etc/default/grub
  • #GRUB_DISABLE_OS_PROBER=false
  • update-grub

Updating discord

Download the update

  • tar -xvf discord.tar.gz
  • sudo cp -r Discord/* /opt/discord/
  • sudo chmod +rwx /opt/discord/discord.desktop

Formating a disk

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/sdb?

Give Permissions

  • sudo chown -R person /run/media/person/diskID
  • sudo chgrp -R person /run/media/person/diskID

Clone this wiki locally