Skip to content
InterviewEra
What is InterviewEraThe platform, founder, and missionHow It WorksAdaptive interview, live captions, scoringResume-aware ScoringCV-native questions + 5-dimension feedback
Campus Placements OverviewStructured mock interviews and cohort analytics for T&P teamsSet up Campus WorkspaceCreate your campus dashboard and invite your batchT&P Product & PricingPilot pricing, bulk onboarding, and placement trackingStudent Invitation HelpHow to accept a campus invite and start practising
Software EngineerDSA, system design, OOP roundsFrontend DeveloperReact, HTML/CSS, JavaScript interviewsTCS Interview QuestionsNQT + technical + HR roundsWipro Careers HubNLTH, WILP, Turbo hiring tracksSolera Careers HubCognitive assessment + Java/SQL roundsReact Interview QuestionsHooks, state, performance topics
Interview Question GeneratorRole-specific questions in secondsATS Resume CheckerScore your resume against job rolesSTAR Answer BuilderStructure behavioral answers clearly
All ResourcesCentral guide and hub directoryBlogInterview prep articles and guidesAgentic AI Interview GuideAI-assisted coding interviews, rubrics, and prepPlacement GuideStep-by-step campus prep playbookSTAR Method GuideMaster behavioral answers
Help CenterGuides, FAQs, and supportDSA Topic MapPatterns, roadmap, and top 50 problemsSoftware Engineer GuideSWE questions and prep hubAndroid GuideKotlin, Compose, MVVM prep hubFrontend GuideReact and JavaScript interviews
PricingFor Teams
Sign inSign up
InterviewEra

InterviewEra is an AI-powered mock interview platform with adaptive follow-ups, resume-aware scoring, and structured interview preparation for campus placements and early-career hiring.

Start Mock Interview

Mock Interview

  • How It Works
  • For Teams
  • Start Mock Interview
  • Campus Placements
  • Campus Workspace
  • Help Center

Free Tools

  • Interview Question Generator
  • ATS Resume Checker
  • STAR Answer Builder

Interview Questions

  • Wipro Careers Hub
  • Solera Careers Hub
  • Amazon SDE Questions
  • Microsoft SDE Questions
  • Infosys SWE Questions
  • Infosys Java Questions
  • Freshworks Frontend Questions
  • Android Developer Questions
  • Frontend Developer Questions
  • Java Developer Questions

Resources

  • Community Hub
  • All Resources
  • Blog
  • Agentic AI Interview Guide
  • What Is Agentic AI
  • Agentic Coding Round
  • AI Prompt Engineering
  • Cursor AI Interview Guide
  • DSA Topic Map
  • Placement Guide
  • STAR Guide
  • HR Guide
  • Interview Tips

Company

  • What is InterviewEra
  • About Us
  • Pricing
  • Contact

© 2026 InterviewEra. All rights reserved.

Privacy PolicyTermsRefundRanchi, Jharkhand, India
Interview Questions›Topics›Linux

DevOps · Fresher-relevant

Linux Interview Questions 2026

Linux interview questions on shell commands, file permissions, process management, cron jobs, and networking tools.

DevOpsFresher-relevant

Linux Interview Questions

Placement-oriented · Updated 2026
  1. 01

    How do Linux file permissions work?

    TechnicalEasy

    Tip: Each file has read/write/execute bits for owner, group, and others — shown by ls -l (e.g. rwxr-xr--). chmod sets them numerically (755 = rwxr-xr-x) or symbolically; chown changes ownership. For directories, execute means "can enter". Mention setuid/setgid/sticky bits for depth.

  2. 02

    How do you find what is consuming CPU or memory on a Linux server?

    TechnicalMedium

    Tip: Use top/htop for live CPU and memory per process, free -h for memory overview, vmstat/iostat for system-wide stats, and ps aux --sort=-%cpu to rank processes. For a runaway process, identify the PID then investigate logs or strace it.

  3. 03

    How do you find and kill a process using a specific port?

    TechnicalMedium

    Tip: Find it with lsof -i :8080 or ss -ltnp | grep :8080 to get the PID, then kill <pid> (graceful, SIGTERM) or kill -9 <pid> (force, SIGKILL) as a last resort. Prefer SIGTERM so the process can clean up.

  4. 04

    What is the difference between a hard link and a soft (symbolic) link?

    TechnicalMedium

    Tip: A hard link is another name pointing to the same inode — the data persists until all hard links are removed, and it cannot cross filesystems. A soft link is a separate file pointing to a path; it can cross filesystems and link directories but breaks if the target is moved/deleted.

  5. 05

    How do pipes and redirection work in the shell?

    TechnicalMedium

    Tip: A pipe | feeds one command's stdout into the next's stdin (e.g. cat log | grep error | wc -l). Redirection sends streams to files: > overwrites stdout, >> appends, 2> redirects stderr, &> both. This composability is the core Unix philosophy.

  6. 06

    What are some essential commands for searching files and text?

    TechnicalEasy

    Tip: find searches the filesystem by name/size/time (find . -name "*.log"). grep searches text within files (grep -r "pattern" .). Combine with xargs, and use awk/sed for field extraction and stream editing. These are daily-driver skills for log analysis.

  7. 07

    What is a cron job and how do you schedule one?

    TechnicalEasy

    Tip: cron schedules recurring tasks. Edit with crontab -e; the five fields are minute, hour, day-of-month, month, day-of-week, then the command (e.g. 0 2 * * * /backup.sh runs daily at 2 AM). Redirect output and check logs since cron runs without your interactive shell environment.

  8. 08

    How do you check disk usage and free space?

    TechnicalEasy

    Tip: df -h shows free space per mounted filesystem; du -sh * shows the size of files/directories in the current path. To hunt a full disk, du -h --max-depth=1 / | sort -rh narrows down the big directories. Also check for deleted-but-open files holding space (lsof | grep deleted).

Practice Linux questions with your own resume

InterviewEra generates role-specific questions using your actual projects and skills. Get scored feedback on technical depth, clarity, and structure — free to start.

Start free mock interviewFree question generator

Roles that need Linux

  • Backend Developer questions
  • DevOps Engineer questions
  • Cloud Engineer questions
  • Cybersecurity Analyst questions

Related devops topics

  • Docker questions
  • Git questions
  • Kubernetes questions

Practice tools

  • Interview question generator
  • ATS resume checker
  • STAR answer builder

Guides and resources

  • All interview questions
  • HR interview answer tips
  • STAR method with examples