Skip to content

Linux Stuff

kimschles edited this page Oct 24, 2018 · 5 revisions

Learning Resources:

  • LinuxAcademy: LPI Linux Essentials
  • ShortcutFoo
    • Shell Commands
  • Julia Evans Zines
    • Bite Sized Linux
    • Bite Sized Command Line

Make the user sudo: sudo su -

  • Change to the root user
  • sudo su

sudoer file /etc/sudoers.d/

  • permissions

groups you can add user to groups colon delimited add a user to a group: sudo usermod -a -G docker ubuntu

https://www.howtogeek.com/50787/add-a-user-to-a-group-or-second-group-on-linux/

/etc is usually where you store your configuration files

To see your name servers, look here: /etc/resolv.conf

  • Note: MacOS doesn't use this file as the authoritative file. It uses something else. To see a Mac's DNS configuration, run scutil --dns

SIGTERM (plz stop) SIGKILL (you’re dead) (there are about 12)

kernel init process

curl

wget

telnet

dig

awk

See which version of linux you're running: cat /etc/issue

  • apk is the package manager for Alpine Linux
Clone this wiki locally