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
book_parentnode-book_suse-certified-administrator
chapter_titleAppendix A: SCA Exam Command Cheat Sheet
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph
Appendix A: SCA Exam Command Cheat Sheet
Section titled “Appendix A: SCA Exam Command Cheat Sheet”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.
System Information
Section titled “System Information”cat /etc/os-release # OS versionuname -r # Kernel versionhostnamectl # Hostname settingsuptime # System load and uptimelscpu # CPU infofree -h # Memory usagelsblk # Block device mappingdf -h # Disk usage and mountsUser and Group Management
Section titled “User and Group Management”useradd -m username # Create user with home directorypasswd username # Set user passwordgroupadd groupname # Create groupusermod -aG group user # Add user to groupid username # Show user identity infochage -l username # Show password agingPermissions and Ownership
Section titled “Permissions and Ownership”chmod 755 file # Change permissionschown user:group file # Change ownershipsetfacl -m u:user:rwx file # Modify ACLgetfacl file # Display ACLFilesystem and LVM
Section titled “Filesystem and LVM”fdisk /dev/sdb # Partition diskmkfs.ext4 /dev/sdb1 # Create filesystemmount /dev/sdb1 /mnt # Mount filesystemvim /etc/fstab # Persistent mount configuration
pvcreate /dev/sdb1 # Create physical volumevgcreate data_vg /dev/sdb1 # Create volume grouplvcreate -L 5G -n lv1 data_vg # Create logical volumeresize2fs /dev/data_vg/lv1 # Resize ext4 filesystemSoftware Management
Section titled “Software Management”zypper lr # List repositorieszypper refresh # Refresh reposzypper search package # Search packageszypper install package # Install softwarezypper patch # Apply security updatessnapper list # View filesystem snapshotssnapper rollback ID # Revert system stateNetworking
Section titled “Networking”ip addr # Show interface addressesip route # Show routing tablehostnamectl set-hostname name # Change hostnamesystemctl restart network # Restart network servicesServices and Boot
Section titled “Services and Boot”systemctl start servicesystemctl stop servicesystemctl enable servicesystemctl status servicejournalctl -u service -b # View logs for service