0% found this document useful (0 votes)
36 views

Linux System Management Commands

The document discusses various Linux system administration tasks including managing files and directories, storage, processes and services, networking, installing and updating software, and configuring system software.

Uploaded by

Shams Haider
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Linux System Management Commands

The document discusses various Linux system administration tasks including managing files and directories, storage, processes and services, networking, installing and updating software, and configuring system software.

Uploaded by

Shams Haider
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

1.

0 System Management

1.2 Given a scenario, manage files and directories

File editing
- sed
- awk
- printf
- nano
- vi(m)

File compression archiving, and backup

- gzip
- bzip2
- zip
- tar
- xz
- cpio
- dd

File metadata

- stat
- file

Soft and hard link

Copying files between systems


- rsync
- scp
- nc

File and directory operations


- mv
- cp
- mkdir
- rmdir
- ls
- pwd
- rm
- cd
- .
- ..
- ~
- tree
- cat
- touch
1.3 Given a scenario, configure and manage storage using the appropriate tools.

Disk partitioning- Commands


- fdisk
- parted
- partprobe

Mounting local and remote devices


- systemd.mount
- /etc/fstab
- mount
- Linux Unified Key Setup (LUKS)
- External devices

Filesystem management
- XFS tools
- Ext4 tools
- Btrfs tools

Monitoring storage space and disk usage


- df
- du

Creating and modifying volumes using Logical Volume Manager (LVM)

- pvs
- vgs
- lvs
- lvchange
- lvcreate
- vgcreate
- lvresize
- pvcreate
- vgextend

Inspecting RAID implementations


- mdadm
- /proc/mdstat

Storage area network (SAN)/ network-attached storage (NAS)


- multipathd
- Network filesystems
- Network File System (NFS)
- Server Message Block (SMB)/Common Internet File System (CIFS)

Storage hardware
- lsscsi
- lsblk
- blkid
- fcstat

1.4 Given a scenario, configure and use the appropriate processes and services.

System services

- systemctl
- stop
- start
- restart
- status
- enable
- disable
- mask

Scheduling services
- cron
- crontab
- at

Process management

- Kill signals
• SIGTERM
• SIGKILL
• SIGHUP
- Listing processes and open files
- top
- ps
- lsof
- htop

- Setting priorities
- nice
- renice

Process states
- Zombie
- Sleeping
- Running
- Stopped

- Job control
- bg
- fg
- jobs
- Ctrl+Z
- Ctrl+C
- Ctrl+D
- pgrep
- pkill
- pidof

1.5 Given a scenario, use the appropriate networking tools or configuration files.

Interface management
- iproute2 tools
- ip
- ss
- NetworkManager
- nmcli
- net-tools
- ifconfig
- ifcfg
- hostname
- arp
- route
- /etc/sysconfig/network-scripts/
- Name resolution
- nsswitch
- /etc/resolv.conf
- systemd
- hostnamectl
- resolvectl
- Bind-utils
- dig
- nslookup
- host
- WHOIS

Network monitoring
- tcpdump
- wireshark/tshark
- netstat
- traceroute
- ping
- mtr

Remote networking tools


- Secure Shell (SSH)
- cURL
- wget
- nc
- rsync
- Secure Copy Protocol (SCP)
- SSH File Transfer Protocol (SFTP)

1.6 Given a scenario, build and install software.

Package management
- DNF
- YUM
- APT
- RPM
- dpkg
- ZYpp

Sandboxed applications
- snapd
- Flatpak
- AppImage

System updates
- Kernel updates
- Package updates

1.7 Given a scenario, manage software configurations.

Updating configuration files


- Procedures
- Restart service
- Reload service
- .rpmnew
- .rpmsave Repository configuration files
- /etc/apt.conf
- /etc/yum.conf
- /etc/dnf/dnf.conf
- /etc/yum.repo.d
- /etc/apt/sources.list.d

Configure kernel options


- Parameters
- sysctl
- /etc/sysctl.conf
- Modules
- lsmod
- rmmod
- insmod
- modprobe
- modinfo

Configure common system services


- SSH
- Network Time Protocol (NTP)
- Syslog
- chrony

Localization
- timedatectl
- localectl

You might also like