jose-villar

Notes written in markdown

View on GitHub

General Commands

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME=es_CL.UTF-8
LC_ADDRESS=es_CL.UTF-8
LC_TELEPHONE=es_CL.UTF-8
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION=es_CL.UTF-8
LC_ALL=

Use localectl set-locale to change any of the variables listed above. For example:

sudo localectl set-locale LANG=en_US.UTF-8

Disks

Format a USB device

  1. Identify the USB Device. lsblk
  2. Partition the USB Device: Use parted to partition the USB device with the GPT scheme. sudo parted /dev/sdX mklabel gpt
  3. Create a primary partition formatted as FAT32 that spans the entire disk. sudo parted /dev/sdX mkpart primary fat32 1MiB 100%
  4. Format the partition with the FAT32 file system: sudo mkfs.fat -F32 /dev/sdX1

Media

Media Types

Video Editing