

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


An L2 engineer regularly checks system logs to identify application or service errors using commands like tail -f /var/log/syslog or grep ERROR /var/log/messages. This helps detect recurring issues quickly.
Using systemctl start/stop/status servicename to manage and monitor essential services (like Apache, MySQL, etc.). For example: restarting a failed Nginx service when downtime is reported.
Using df -h and du -sh to check which directories are consuming excessive space. Engineers might clear /var/tmp or archived logs when storage alerts trigger.
Managing users via useradd, passwd, and chown/chmod. For instance, creating a new support user for access control during troubleshooting.
Checking connectivity using ping, netstat -tulnp, and ss -lntp. Engineers also use traceroute and nslookup to verify DNS and routing issues.
Using top, htop, and ps aux to identify high CPU/memory-consuming processes. L2 engineers may kill unresponsive processes using kill -9.
Keeping systems updated using apt-get update && apt-get upgrade or yum update. This ensures stability and closes security vulnerabilities.
Creating small scripts to automate repetitive tasks โ e.g., monitoring CPU usage and sending email alerts if thresholds exceed limits.
Hour 1: Understand Linux structure (Files, Directories, Permissions). Hour 2: Basic commands โ ls, cd, cp, mv, rm, cat, touch, mkdir. Hour 3: System monitoring โ top, ps, df, du, free, uptime. Hour 4: Service management โ systemctl, journalctl, crontab. Hour 5: Networking โ ping, curl, netstat, traceroute, nslookup. Hour 6: File permissions and ownership โ chmod, chown, groups. Hour 7: Shell scripting basics โ loops, conditions, automation tasks. Hour 8: Practice troubleshooting and log analysis cases.
Use df -h to view filesystem usage and du -sh /path to check folder size.
ps aux or top shows all running processes with details.
Use netstat -tulnp | grep or ss -lntp.
Using crontab -e to add cron jobs, e.g., 0 2 * * * /path/script.sh for daily execution.
who -b or uptime commands show last reboot time.
Soft links are pointers to files, while hard links are duplicate inodes of the same data block.
Use free -h or top to monitor memory usage.
Use journalctl, or cat /var/log/syslog for system events.