Linux admin interview questions

Linux admin interview questions

How do you list the files in an UNIX directory while also showing hidden files? ls -ltra

How do you execute a UNIX command in the background? Use the &”.

What UNIX command will control the default file permissions when files are created? umask

Explain the read, write, and execute permissions on a UNIX directory. Read allows you to see and list the directory contents. Write allows you to create, edit and delete files and subdirectories in the directory. Execute gives you the permissions to run programs or shells from the directory.

What is the difference between a soft link and a hard link? A symbolic (soft) linked file and the targeted file can be located on the same or different file system while for a hard link they must be located on the same file system.

Give the command to display space usage on the UNIX file system. df -lk

Explain iostat, vmstat and netstat. iostat reports on terminal, disk and tape I/O activity. vmstat reports on virtual memory statistics for processes, disk, tape and CPU activity. netstat reports on the contents of network data structures.

How would you change all occurrences of a value using VI? %s/(old value)/(new value)/g

Give two UNIX kernel parameters that effect an Oracle install. SHMMAX & SHMMNI

Briefly, how do you install Oracle software on UNIX? Basically, set up disks, kernel parameters, and run orainst.

Home > Unix/Linux > Linux admin interview questions
  1. No comments yet.
  1. No trackbacks yet.