Basic Linux Administrator Commands - Part 3

Опубликовано: 09 Октябрь 2024
на канале: Linux DevOps Journey
30
4

List of commands you can learn about in this video.

Install GUI using one command - yum group install 'Server with GUI'

Learn about YUM and how to use it:
yum list - lists package names from repositories
yum list available - list of available packages
yum list kernel - lists the kernel
yum info packagename - tells us more about individual software
yum deplist packagename - tells us dependencies of individual software
yum search nano - searches for packages
yum install packagename - install new software using yum
yum remove packagename - removes software already installed
yum update - system wide update
yum update packagename - update individual software
yum local install - install package that's local

Networking:
hostnamectl set-hostname nameoftheserver
ip a - shows us active network interfaces as well as IP address
traceroute - helps us determine gateway
nmcli - learn how to change to static IP address, find out more details about interface
dig - DNS lookup utility
disable ipv6 protocol

System Related Commands:
top - dynamic real time view of the system
pstree - shows running processes as a tree
ps -aux - lists all of current running processes
ps -axjf - shows processes in hierarchical view
ps -U nameoftheuser u nameoftheuser u - shows processes run by specified user
kill - kills/reloads/terminates running process
systemctl - utility responsible for examining and controlling systemd and service manager