|
Further Linux Interview Preparation Questions
Tell me the 5 differences between Linux and Unix?
Answer
Unix and Linux:
1. UNIX is very old and Linux is based on it.
2. Linux is a good desktop OS while UNIX lacks the user friendliness
needed for general computing.
3. UNIX is intended for mainframes and high end computers and cannot
run on mos PCs while Linux can go from mainframes down to low end personal
computers.
4. UNIX is proprietary while Linux is shared using the Licensing of
the GNU.
5. Linux file system is ext3.
6. Selinux enabled on linux
7. Linux using advanced file editor like vim.
How do I check which nfs version I am using?
Answer
rpm -qa | grep nfs
How to check all open ports on linux machine and block unsed ports?
Answer
# 3
#netstat -tulp
or
#netstat -tulpn
to verfy the open ports
How can you see all mounted drives?
Answer
# 8
mount -l is the perfect answer, as this commands lists all the mounted
drive / partitions in the system ( temperory or permenent),
here root / user may have mounted / unmounted,
some other partitions
fstab gives us the information that which partitions has to be
mounted whenever the system starts.
What restrict telnet for root itself but allow for other user?
Answer
# 1
vi /etc/pam.d/login
auth required
pam_securetty.so== 1st line
Should be placed as required.
If we change the option as sufficient instead of required telnet can
login as "root".
Tell me some of the Linux HotKeys do you know?
Answer
# 1
alt+f1 for application menu
ctl+l to clear screen
alt+f2 to open run application window
alt+f3 for find
alt+f4 to close application
alt+f9 to minimise window
How to trace any process background processing?
Answer
# 1
ps -aux
what is difference between $@ and $* in UNIX Shell script Answer
# 1
In a shell script :
$@: each quoated string treated as a separate argument
while gving at command line.
$*: stores the complete set of positional parameters as a
single stri
Have a Linux Problem
Linux Forum - Do
you have a Linux Question?
Linux Books
Linux
Certification, System Administration, Programming, Networking Books
Linux Home: Linux
System Administration Hints and Tips
(c) www.sap-basis-abap.com All material on this site is
Copyright.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
All product names are trademarks of their respective
companies.
The site www.sap-basis-abap.com is in no way affiliated
with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.
|