Master Sysadmin Cards with 542 free flashcards. Study using spaced repetition and focus mode for effective learning in Technology.
Sample card
What is the purpose of the ~/.ssh/config file?
It allows users to define shortcuts and configuration options (like Hostname, User, Port, IdentityFile) for SSH connections.
~/.ssh/config file?
~/.ssh/authorized_keys file?
rsyslog and journald?
Q · 1 of 542
What is the purpose of the ~/.ssh/config file?
Q · 2 of 542
What are the recommended permissions for the ~/.ssh/authorized_keys file?
Q · 3 of 542
What is a DNS CNAME record?
~/.ssh/config file?It allows users to define shortcuts and configuration options (like Hostname, User, Port, IdentityFile) for SSH connections.
~/.ssh/authorized_keys file?600 (read/write for owner only).
A Canonical Name record that maps one domain name (alias) to another domain name (canonical).
A Mail Exchange record that specifies the mail server responsible for accepting email messages on behalf of a domain.
rsyslog and journald?rsyslog is a traditional syslog daemon that writes logs to text files (e.g., /var/log/syslog). journald is part of systemd and stores logs in a binary format, accessible via journalctl.
vm.swappiness control?The tendency of the kernel to move processes from physical memory to swap space (0-100, higher means more aggressive swapping).
killall and pkill?killall kills processes by exact name match. pkill kills processes based on name or other attributes (like regex matching or user ID).
nohup command do?It runs a command immune to hangups (SIGHUP), allowing it to continue running after the user logs out.
screen and tmux used for?They are terminal multiplexers that allow managing multiple terminal sessions inside one window and keeping sessions alive after disconnection.
/etc/profile and ~/.bash_profile?/etc/profile is the global configuration script for all users upon login. ~/.bash_profile is the user-specific configuration script executed for login shells.
su and su -?su switches user but keeps the current environment variables. su - switches user and loads that user's full login environment (like a fresh login).
blkid
Flashcards
Flip to reveal
Focus Mode
Spaced repetition
Multiple Choice
Test your knowledge
Type Answer
Active recall
Learn Mode
Multi-round mastery
Match Game
Memory challenge