Skip to content
ImagineWorld

Appendix A: SCA Exam Command Cheat Sheet

node_idnode-book_suse-certified-administrator_appendix-a-sca-exam-command-cheat-sheet
node_typebook-part
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_titleAppendix A: SCA Exam Command Cheat Sheet
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Appendices

This cheat sheet summarizes high-value commands you’ll use throughout the SCA exam and real-world SUSE administration. Use this for review and pre-exam warm-up.

Terminal window
cat /etc/os-release # OS version
uname -r # Kernel version
hostnamectl # Hostname settings
uptime # System load and uptime
lscpu # CPU info
free -h # Memory usage
lsblk # Block device mapping
df -h # Disk usage and mounts
Terminal window
useradd -m username # Create user with home directory
passwd username # Set user password
groupadd groupname # Create group
usermod -aG group user # Add user to group
id username # Show user identity info
chage -l username # Show password aging
Terminal window
chmod 755 file # Change permissions
chown user:group file # Change ownership
setfacl -m u:user:rwx file # Modify ACL
getfacl file # Display ACL
Terminal window
fdisk /dev/sdb # Partition disk
mkfs.ext4 /dev/sdb1 # Create filesystem
mount /dev/sdb1 /mnt # Mount filesystem
vim /etc/fstab # Persistent mount configuration
pvcreate /dev/sdb1 # Create physical volume
vgcreate data_vg /dev/sdb1 # Create volume group
lvcreate -L 5G -n lv1 data_vg # Create logical volume
resize2fs /dev/data_vg/lv1 # Resize ext4 filesystem
Terminal window
zypper lr # List repositories
zypper refresh # Refresh repos
zypper search package # Search packages
zypper install package # Install software
zypper patch # Apply security updates
snapper list # View filesystem snapshots
snapper rollback ID # Revert system state
Terminal window
ip addr # Show interface addresses
ip route # Show routing table
hostnamectl set-hostname name # Change hostname
systemctl restart network # Restart network services
Terminal window
systemctl start service
systemctl stop service
systemctl enable service
systemctl status service
journalctl -u service -b # View logs for service