|
Linux administration interview questions
1.How do you
list the files in an UNIX directory while also showing
hidden files? ls -ltra
2.How do you execute a UNIX command in the background? Use
the “&”.
3.What UNIX command will control the default file
permissions when files are created? umask
4.Explain the
read, write, and execute permissions on a UNIX directory.
Read allows you to see and list the directory contents.
5.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.
6.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.
7.Give the command to display space usage on the UNIX file
system. df -lk
8.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.
9.How would you change all occurrences of a value using VI?
%s/(old value)/(new value)/g
10.Give two UNIX kernel parameters that effect an Oracle
install. SHMMAX & SHMMNI
11.Briefly, how do you install Oracle software on UNIX?
Basically, set up disks, kernel parameters, and run orainst.
|
|