Linux Interview Questions

 
1.
What is Linux?
2.
What is the difference between UNIX and LINUX?
3.
What is BASH?
4.
What is Linux Kernel?
5.
What is LILO?
6.
What is a swap space?
7.
What is the advantage of open source?
8.
What are the basic components of Linux?
9.
Does it help for a Linux system to have multiple desktop environments installed?
10.
What is the basic difference between BASH and DOS?
11.
What is the importance of the GNU project?
12.
Describe the root account.
13.
What is CLI?
14.
What is GUI?
15.
How do you open a command prompt when issuing a command?
16.
How can you find out how much memory Linux is using?
17.
What is typical size for a swap partition under a Linux system?
18.
What are symbolic links?
19.
Does the Ctrl+Alt+Del key combination work on Linux?
20.
How do you refer to the parallel port where devices such as printers are connected?
21.
Are drives such as harddrive and floppy drives represented with drive letters?
22.
How do you change permissions under Linux?
23.
In Linux, what names are assigned to the different serial ports?
24.
How do you access partitions under Linux?
25.
What are hard links?
26.
What is the maximum length for a filename under Linux?
27.
What are filenames that are preceded by a dot?
28.
Explain virtual desktop.
29.
How do you share a program across different virtual desktops under Linux?
30.
What does a nameless (empty) directory represent?
31.
What is the pwd command?
32.
What are daemons?
33.
How do you switch from one desktop environment to another, such as switching from KDE to Gnome?
34.
What are the kinds of permissions under Linux?
35.
How does case sensitivity affect the way you use commands?
36.
What are environmental variables?
37.
What are the different modes when using vi editor?
38.
Is it possible to use shortcut for a long pathname?
39.
What is redirection?
40.
What is grep command?
41.
What could possibly be the problem when a command that was issued gave a different result from the last time it was used?
42.
What are the contents in /usr/local?
43.
How do you terminate an ongoing process?
44.
How do you insert comments in the command line prompt?
45.
What is command grouping and how does it work?
46.
How do you execute more than one command or program from a single command line entry?
47.
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
48.
Write a command that will display all .txt files, including its individual permission.
49.
Write Command:
-look for all files in the current and subsequent directories with an extension c,v
-strip the,v from the result (you can use sed command)
-use the result and use a grep command to search for all occurrences of the word ORANGE in the files.
50.
What, if anything, is wrong with each of the following commands?
a) ls -l-s
b) cat file1, file2
c) ls - s Factdir